[PATCH] Clarify the rootid_owns_currentns
Paul Moore
paul at paul-moore.com
Wed Nov 19 00:29:28 UTC 2025
On Tue, Nov 18, 2025 at 7:05 PM Serge E. Hallyn <serge at hallyn.com> wrote:
> On Tue, Nov 18, 2025 at 10:47:06AM -0500, Paul Moore wrote:
> > On Tue, Nov 18, 2025 at 9:16 AM Serge E. Hallyn <serge at hallyn.com> wrote:
> > > On Fri, Nov 14, 2025 at 03:33:19PM -0600, Serge E. Hallyn wrote:
> > > > Split most of the rootid_owns_currentns() functionality
> > > > into a more generic rootid_owns_ns() function which
> > > > will be easier to write tests for.
> > > >
> > > > Rename the functions and variables to make clear that
> > > > the ids being tested could be any uid.
> > > >
> > > > Signed-off-by: Serge Hallyn <serge at hallyn.com>
> > > > CC: Ryan Foster <foster.ryan.r at gmail.com>
> > > > CC: Christian Brauner <brauner at kernel.org>
> > >
> > > Paul, Christian, let me know if you have any objections, else I will
> > > queue this up in caps-next.
> >
> > Seems reasonable to me, but it would be good to fix the parameter doc
> > bug that the kernel test robot identified. I suspect it is just the
> > extra vertical comment space between the top one line summary and the
> > parameter list.
>
> Actually I think it was probably the use of - instead of : after the
> parameter name, but I went ahead and changed both, thanks.
Ah, yeah, at least one of those was it I'm sure.
> Pushed the below patch for linux-next.
Thanks.
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list