]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - security/selinux/hooks.c
selinux: delay inode label lookup as long as possible
authorPaul Moore <paul@paul-moore.com>
Mon, 4 Apr 2016 18:14:42 +0000 (14:14 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 19 Apr 2016 20:37:07 +0000 (16:37 -0400)
commit20cdef8d57591ec8674f65ccfe555aca5fd10b64
tree1c7acbf2540014316925c437a34f2c54c178ae40
parent2c97165befb487c0dc8b25d39f457d0d91d22a6f
selinux: delay inode label lookup as long as possible

Since looking up an inode's label can result in revalidation, delay
the lookup as long as possible to limit the performance impact.

Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c