diff options
author | Dwight Engen <dwight.engen@oracle.com> | 2013-08-15 14:07:59 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-15 14:18:31 -0500 |
commit | 288bbe0eeb3da7238482ca586c6fb029801336be (patch) | |
tree | a5af810265278672af29a90ae578ee7aa66a6974 /kernel/capability.c | |
parent | c5eeb7ec3e1bb9884e97066bc293792ab57fb4ab (diff) | |
download | lwn-288bbe0eeb3da7238482ca586c6fb029801336be.tar.gz lwn-288bbe0eeb3da7238482ca586c6fb029801336be.zip |
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>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions