summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-04-14 21:06:31 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-14 21:06:31 +0400
commit935d8aabd4331f47a89c3e1daa5779d23cf244ee (patch)
tree8fff6fba14f11a55cea7a9fd3adc2e8d418b4ee1 /init
parent5b55d708335a9e3e4f61f2dadf7511502205ccd1 (diff)
downloadlinux-935d8aabd4331f47a89c3e1daa5779d23cf244ee.tar.xz
Add file_ns_capable() helper function for open-time capability checking
Nothing is using it yet, but this will allow us to delay the open-time checks to use time, without breaking the normal UNIX permission semantics where permissions are determined by the opener (and the file descriptor can then be passed to a different process, or the process can drop capabilities). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions