[PATCH v5 25/42] utimes: handle idmapped mounts

Christoph Hellwig hch at infradead.org
Tue Jan 19 09:40:44 UTC 2021


On Tue, Jan 12, 2021 at 11:01:07PM +0100, Christian Brauner wrote:
> Enable the vfs_utimes() helper to handle idmapped mounts by passing down
> the mount's user namespace. If the initial user namespace is passed
> nothing changes so non-idmapped mounts will see identical behavior as
> before.

No real need for the local variable here.  Same applies to a bunch
of other patches as well.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>



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