original_kernel/security/selinux
David Howells 13f8e9810b 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>
2013-06-29 12:57:14 +04:00
..
include
ss
.gitignore
Kconfig
Makefile
avc.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
exports.c
hooks.c SELinux: Institute file_path_has_perm() 2013-06-29 12:57:14 +04:00
netif.c
netlabel.c
netlink.c selinux: replace obsolete NLMSG_* with type safe nlmsg_* 2013-03-28 14:25:49 -04:00
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c
xfrm.c selinux: fix the labeled xfrm/IPsec reference count handling 2013-05-31 17:30:07 -07:00