Re: [PATCH v1] fs: Add kfuncs to handle idmapped mounts

From: Christoph Hellwig
Date: Thu Jul 06 2023 - 10:37:46 EST


On Tue, Jul 04, 2023 at 03:01:21PM +0200, Christian Brauner wrote:
> That's too much stability for my taste for these helpers. The helpers
> here exposed have been modified multiple times and once we wean off
> idmapped mounts from user namespaces completely they will change again.
> So I'm fine if they're traceable but not as kfuncs with any - even
> minimal - stability guarantees.

I fully agree. I also don't think any eBPF program has any business
looking at idmapping.