Re: [PATCH 2/9] mnt: expose pointer to init_mnt_ns
From: Christian Brauner
Date: Tue Sep 23 2025 - 06:44:13 EST
On Mon, Sep 22, 2025 at 12:19:11PM +0200, Jan Kara wrote:
> On Fri 19-09-25 12:05:16, Christian Brauner wrote:
> > On Wed, Sep 17, 2025 at 06:28:37PM +0200, Jan Kara wrote:
> > > On Wed 17-09-25 12:28:01, Christian Brauner wrote:
> > > > There's various scenarios where we need to know whether we are in the
> > > > initial set of namespaces or not to e.g., shortcut permission checking.
> > > > All namespaces expose that information. Let's do that too.
> > > >
> > > > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx>
> >
> > I've changed this so it behaves exactly like all the other init
> > namespaces. See appended.
>
> Yeah, looks good to me. Feel free to add:
>
> Reviewed-by: Jan Kara <jack@xxxxxxx>
>
> (although I can see you've kept my Reviewed-by in the patch).
Sorry, that was an accident because I had amended the patch.
Thanks for paying attention to this!