xfs
[Top] [All Lists]

Re: [PATCH v7 2/7] xfs: convert kuid_t to/from uid_t in ACLs

To: Dwight Engen <dwight.engen@xxxxxxxxxx>
Subject: Re: [PATCH v7 2/7] xfs: convert kuid_t to/from uid_t in ACLs
From: Gao feng <gaofeng@xxxxxxxxxxxxxx>
Date: Wed, 31 Jul 2013 14:51:25 +0800
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20130729230646.715303ed@xxxxxxxxxx>
References: <20130729230646.715303ed@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
On 07/30/2013 11:06 AM, Dwight Engen wrote:
> Change permission check for setting ACL to use inode_owner_or_capable()
> which will additionally allow a CAP_FOWNER user in a user namespace to
> be able to set an ACL on an inode covered by the user namespace mapping.
> 
> Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>
> Signed-off-by: Dwight Engen <dwight.engen@xxxxxxxxxx>
> ---
>  fs/xfs/xfs_acl.c | 20 ++++++++++++++++----
>  1 file changed, 16 insertions(+), 4 deletions(-)

Reviewed-by: Gao feng <gaofeng@xxxxxxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>