diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2021-05-14 18:27:48 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2021-05-21 19:57:52 +0300 |
commit | 7e135dc725417ecc0629afb4b3b24457d2a4869d (patch) | |
tree | 896e2f46d532e12fcfbbe3d6c8eff9bb484017cd /samples | |
parent | cdef685be5b4ae55c3959289e72d520402839c29 (diff) | |
download | linux-7e135dc725417ecc0629afb4b3b24457d2a4869d.tar.xz |
evm: Pass user namespace to set/remove xattr hooks
In preparation for 'evm: Allow setxattr() and setattr() for unmodified
metadata', this patch passes mnt_userns to the inode set/remove xattr hooks
so that the GID of the inode on an idmapped mount is correctly determined
by posix_acl_update_mode().
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions