]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: inline some AVC functions used only once
authorOndrej Mosnacek <omosnace@redhat.com>
Fri, 25 Jan 2019 10:06:48 +0000 (11:06 +0100)
committerPaul Moore <paul@paul-moore.com>
Fri, 25 Jan 2019 22:04:29 +0000 (17:04 -0500)
commite490a8f0c8e25f962f596ac6410a94a9f65244f6
treeedf1d5916668db1a2136990c77e6dbc0ff048683
parent919f998c60480e79f7a9642783e07b5c5ccbd0ee
selinux: inline some AVC functions used only once

avc_dump_av() and avc_dump_query() are each used only in one place. Get
rid of them and open code their contents in the call sites.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Reviewed-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/avc.c