]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: convert kuid_t to/from uid_t in ACLs
authorDwight Engen <dwight.engen@oracle.com>
Thu, 15 Aug 2013 18:07:59 +0000 (14:07 -0400)
committerBen Myers <bpm@sgi.com>
Thu, 15 Aug 2013 19:18:31 +0000 (14:18 -0500)
commit3c0f7a0223b7a08697bfd59c1a586027b27060d9
treea5af810265278672af29a90ae578ee7aa66a6974
parent1fc7348d94b1c45f24e423f1fce1dc99d32cdfed
xfs: convert kuid_t to/from uid_t in ACLs

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@redhat.com>
Reviewed-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_acl.c