On Tue, Oct 27, 2015 at 5:40 PM, Stephen Smalley <[email protected]> wrote:
> On 10/26/2015 05:15 PM, Andreas Gruenbacher wrote:
>>
>> Use path_has_perm directly instead.
>
>
> This reverts:
>
> commit 13f8e9810bff12d01807b6f92329111f45218235
> Author: David Howells <[email protected]>
> Date:   Thu Jun 13 23:37:55 2013 +0100
>
>     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 <[email protected]>
>     Signed-off-by: Al Viro <[email protected]>
>
> which I think David was intending to use as part of his SELinux/overlayfs
> support.

Okay. As long as overlayfs support in SELinux is in half-finished
state, let's leave this alone.

Thanks,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe 
linux-security-module" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to