summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-06-13 23:37:55 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 12:57:14 +0400
commit13f8e9810bff12d01807b6f92329111f45218235 (patch)
treeace67a6d8e243b83226663f23b7f68eaad1fb521 /fs/read_write.c
parentc77cecee52e9b599da1f8ffd9170d4374c99a345 (diff)
downloadlwn-13f8e9810bff12d01807b6f92329111f45218235.tar.gz
lwn-13f8e9810bff12d01807b6f92329111f45218235.zip
SELinux: Institute file_path_has_perm()
Create a file_path_has_perm() function that is like path_has_perm() but instead takes a file struct that is the source of both the path and the inode (rather than getting the inode from the dentry in the path). This is then used where appropriate. This will be useful for situations like unionmount where it will be possible to have an apparently-negative dentry (eg. a fallthrough) that is open with the file struct pointing to an inode on the lower fs. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions