lkml.org 
[lkml]   [2010]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 0/2] Correct behavior for listxattr and 'trusted' xattrs
On Wed, 10 Mar 2010, Christoph Hellwig wrote:

> Now that everyone felt the consensus is that we need the check I look
> into adding it into XFS, but it seems like we already have that check
> in xfs_xattr_put_listent:
>
> /*
> * Only show root namespace entries if we are actually allowed to
> * see them.
> */
> if ((flags & XFS_ATTR_ROOT) && !capable(CAP_SYS_ADMIN))
> return 0;
>

Looks like I didn't understand what the XFS code was doing.


- James
--
James Morris
<jmorris@namei.org>


\
 
 \ /
  Last update: 2010-03-10 15:07    [W:0.072 / U:35.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site