summaryrefslogtreecommitdiffstats
path: root/kernel/up.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-10-04 12:54:11 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-10-04 12:54:11 -0700
commit19e49834d22c2271ed1f4a03aaa4b74986447fb4 (patch)
tree08ec1c521fc151b78b8d1c654d940b1e279edbe4 /kernel/up.c
parent15c83d26e16d19522ebba2a8c38b77fbe64e6ca3 (diff)
downloadlinux-19e49834d22c2271ed1f4a03aaa4b74986447fb4.tar.bz2
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 2e33405785d3 ("SELinux: delay initialization of audit data in selinux_inode_permission") for example. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions