Searched hist:b197367ed1ba81b0d26f7e7f76f61731ac6e5842 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/selinux/ |
H A D | hooks.c | diff b197367ed1ba81b0d26f7e7f76f61731ac6e5842 Tue Jan 05 16:12:33 CST 2016 Andreas Gruenbacher <agruenba@redhat.com> 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>
|