[PATCH] Clarify the rootid_owns_currentns
Paul Moore
paul at paul-moore.com
Tue Nov 18 15:47:06 UTC 2025
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.
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list