Re: [PATCH 2/9] mnt: expose pointer to init_mnt_ns
From: Jan Kara
Date: Mon Sep 22 2025 - 06:19:14 EST
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).
Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR