[PATCH] Clarify the rootid_owns_currentns
Serge E. Hallyn
serge at hallyn.com
Tue Nov 18 23:59:25 UTC 2025
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.
ooh, is that it. I couldn't for the life of me figure out what it
was complaining about. Will try that, thanks.
More information about the Linux-security-module-archive
mailing list