diff options
author | Dwight Engen <dwight.engen@oracle.com> | 2013-08-15 22:07:59 +0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-15 23:18:31 +0400 |
commit | 288bbe0eeb3da7238482ca586c6fb029801336be (patch) | |
tree | a5af810265278672af29a90ae578ee7aa66a6974 /kernel/capability.c | |
parent | c5eeb7ec3e1bb9884e97066bc293792ab57fb4ab (diff) | |
download | linux-288bbe0eeb3da7238482ca586c6fb029801336be.tar.xz |
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