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

2021-04-07 Thread Christian Brauner
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

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

2021-04-07 Thread Roberto Sassu
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 Cc: Andreas Gruenbacher