From: Eric Paris Date: Thu, 28 Apr 2011 20:04:24 +0000 (-0400) Subject: SELinux: introduce path_has_perm X-Git-Tag: v3.0-rc1~309^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2875fa00830be62431f5ac22d8f85d57f9fa3033;p=pandora-kernel.git 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 --- Reading git-diff-tree failed