summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorEric W. Biederman2016-06-27 23:04:06 +0200
committerEric W. Biederman2016-07-01 01:04:58 +0200
commit0d4d717f25834134bb6f43284f84c8ccee5bbf2a (patch)
treeaa4f4605f45bca718b01483e90835731227ef341 /fs/namei.c
parentuserns: Handle -1 in k[ug]id_has_mapping when !CONFIG_USER_NS (diff)
downloadkernel-qcow2-linux-0d4d717f25834134bb6f43284f84c8ccee5bbf2a.tar.gz
kernel-qcow2-linux-0d4d717f25834134bb6f43284f84c8ccee5bbf2a.tar.xz
kernel-qcow2-linux-0d4d717f25834134bb6f43284f84c8ccee5bbf2a.zip
vfs: Verify acls are valid within superblock's s_user_ns.
Update posix_acl_valid to verify that an acl is within a user namespace. Update the callers of posix_acl_valid to pass in an appropriate user namespace. For posix_acl_xattr_set and v9fs_xattr_set_acl pass in inode->i_sb->s_user_ns to posix_acl_valid. For md_unpack_acl pass in &init_user_ns as no inode or superblock is in sight. Acked-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions