Re: [PATCH v7 1/6] pidfd: add PIDFD_SELF* sentinels to refer to own thread/process

From: Christian Brauner
Date: Mon Feb 17 2025 - 03:24:35 EST


On Tue, Feb 11, 2025 at 03:45:20PM +0000, Lorenzo Stoakes wrote:
> On Tue, Feb 11, 2025 at 04:24:07PM +0100, Michal Koutný wrote:
> > On Thu, Jan 30, 2025 at 08:40:26PM +0000, Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> wrote:
> > >
> > > Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
> > > ---
> > > include/uapi/linux/pidfd.h | 24 +++++++++
> > > kernel/pid.c | 24 +++++++--
> > > kernel/signal.c | 106 ++++++++++++++++++++++---------------
> > > 3 files changed, 107 insertions(+), 47 deletions(-)
> >
> > Practical idea, thanks.
>
> Thanks!
>
> >
> > > diff --git a/include/uapi/linux/pidfd.h b/include/uapi/linux/pidfd.h
> > > + * To cut the Gideon knot, for internal kernel usage, we refer to
> >
> > A nit
> > https://en.wikipedia.org/wiki/Gordian_Knot
> >
> > (if still applicable)
>
> MY GOD. Hahaha. How embarrassing. God knows how 'Gideon' ended up
> there. Apologies to all, I appear to have had a senior moment there...
>
> Feel free to correct Christian, unless we want to leave this as an Easter
> Egg? :P

Everybody knows it's the "quotidian knot" that's the most challenging.