]> git.karo-electronics.de Git - karo-tx-linux.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)
commit288bbe0eeb3da7238482ca586c6fb029801336be
treea5af810265278672af29a90ae578ee7aa66a6974
parentc5eeb7ec3e1bb9884e97066bc293792ab57fb4ab
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