diff options
author | Eric Paris <eparis@redhat.com> | 2011-04-28 16:04:24 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2011-04-28 16:09:59 -0400 |
commit | 2875fa00830be62431f5ac22d8f85d57f9fa3033 (patch) | |
tree | 541fdb15e39711fb1ad901223d823421c7b77526 /samples | |
parent | a8d05c81fb238bbb18878ccfae7599ca79448dd3 (diff) | |
download | linux-2875fa00830be62431f5ac22d8f85d57f9fa3033.tar.gz linux-2875fa00830be62431f5ac22d8f85d57f9fa3033.tar.bz2 linux-2875fa00830be62431f5ac22d8f85d57f9fa3033.zip |
SELinux: introduce path_has_perm
We currently have inode_has_perm and dentry_has_perm. dentry_has_perm just
calls inode_has_perm with additional audit data. But dentry_has_perm can
take either a dentry or a path. Split those to make the code obvious and
to fix the previous problem where I thought dentry_has_perm always had a
valid dentry and mnt.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions