Skip to content
Commit 935d8aab authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5b55d708
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