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

From: Christian Brauner
Date: Wed Apr 07 2021 - 08:07:14 EST


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@xxxxxxxxxx>
> Cc: Andreas Gruenbacher <agruenba@xxxxxxxxxx>
> Signed-off-by: Roberto Sassu <roberto.sassu@xxxxxxxxxx>
> ---

Looks good,
Reviewed-by: Christian Brauner <christian.brauner@xxxxxxxxxx>