summaryrefslogtreecommitdiffstats
path: root/security/selinux/avc.c
diff options
context:
space:
mode:
authorEric Paris2012-04-04 21:01:42 +0200
committerEric Paris2012-04-09 18:23:00 +0200
commitd4cf970d0732628d514405c5a975024b9e205b0b (patch)
tree481f90ea13b2cbc8dd77bc934aa91024c1df6587 /security/selinux/avc.c
parentSELinux: remove inode_has_perm_noadp (diff)
downloadkernel-qcow2-linux-d4cf970d0732628d514405c5a975024b9e205b0b.tar.gz
kernel-qcow2-linux-d4cf970d0732628d514405c5a975024b9e205b0b.tar.xz
kernel-qcow2-linux-d4cf970d0732628d514405c5a975024b9e205b0b.zip
SELinux: move common_audit_data to a noinline slow path function
selinux_inode_has_perm is a hot path. Instead of declaring the common_audit_data on the stack move it to a noinline function only used in the rare case we need to send an audit message. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/avc.c')
0 files changed, 0 insertions, 0 deletions