[PATCH v5 08/12] evm: Pass user namespace to set/remove xattr hooks

Christian Brauner christian.brauner at ubuntu.com
Wed Apr 7 12:06:58 UTC 2021

On Wed, Apr 07, 2021 at 12:52:48PM +0200, Roberto Sassu wrote:
> 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().
> Cc: Christian Brauner <christian.brauner at ubuntu.com>
> Cc: Andreas Gruenbacher <agruenba at redhat.com>
> Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com>
> ---

Looks good,
Reviewed-by: Christian Brauner <christian.brauner at ubuntu.com>

More information about the Linux-security-module-archive mailing list