aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/keyctl.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2016-01-05 23:12:33 +0100
committerPaul Moore <paul@paul-moore.com>2016-01-08 16:24:27 -0500
commitb197367ed1ba81b0d26f7e7f76f61731ac6e5842 (patch)
treeefc5fa3e91a36fd1e4de2aecdc37a697e7867a4d /security/keys/keyctl.c
parentselinux: rate-limit netlink message warnings in selinux_nlmsg_perm() (diff)
downloadlinux-dev-b197367ed1ba81b0d26f7e7f76f61731ac6e5842.tar.xz
linux-dev-b197367ed1ba81b0d26f7e7f76f61731ac6e5842.zip
selinux: Inode label revalidation performance fix
Commit 5d226df4 has introduced a performance regression of about 10% in the UnixBench pipe benchmark. It turns out that the call to inode_security in selinux_file_permission can be moved below the zero-mask test and that inode_security_revalidate can be removed entirely, which brings us back to roughly the original performance. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/keys/keyctl.c')
0 files changed, 0 insertions, 0 deletions