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)
commita2c513835bb6c6ca660ae4ecda8ff9f676e47e55
treeedf1d5916668db1a2136990c77e6dbc0ff048683
parent53e0c2aa9a59a48e3798ef193d573ade85aa80f5
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