Skip to content
Commit 2875fa00 authored by Eric Paris's avatar Eric Paris
Browse files

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: default avatarEric Paris <eparis@redhat.com>
parent a8d05c81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment