[PATCH v5 29/42] ioctl: handle idmapped mounts

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


On Tue, Jan 12, 2021 at 11:01:11PM +0100, Christian Brauner wrote:
> Enable generic ioctls 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.

Looks good, although file_permission would help here as well..

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



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