Skip to content
Commit 19e49834 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

selinux: remove 'flags' parameter from inode_has_perm

Every single user passes in '0'.  I think we had non-zero users back in
some stone age when selinux_inode_permission() was implemented in terms
of inode_has_perm(), but that complicated case got split up into a
totally separate code-path so that we could optimize the much simpler
special cases.

See commit 2e334057

 ("SELinux: delay initialization of audit data in
selinux_inode_permission") for example.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 15c83d26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment