[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240209195332.GA24647@redhat.com>
Date: Fri, 9 Feb 2024 20:53:58 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Christian Brauner <brauner@...nel.org>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Andy Lutomirski <luto@...capital.net>,
Tycho Andersen <tycho@...ho.pizza>, linux-api@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] signal: add the "int si_code" arg to
prepare_kill_siginfo()
On 02/09, Christian Brauner wrote:
>
> On Fri, Feb 09, 2024 at 05:39:14PM +0100, Oleg Nesterov wrote:
> > On 02/09, Eric W. Biederman wrote:
> > >
> > > Could you can pass in the destination type instead of the si_code?
> > > Something like I have shown below?
> >
> > ...
> >
> > > info->si_code = (type == PIDTYPE_PID) ? SI_TKILL : SI_USER;
> >
> > Yes, I considered this option too.
> >
> > OK, will send V3 tomorrow.
>
> Hm, I don't think that's necessary if you're happy to have me just fix
> that up in tree.
Thank you!!!
looks obviously correct, but again, I will double check tomorrow just
in case.
> but I have a baby on my lap so double check, please:
;) I'm familiar with this.
Oleg.
Powered by blists - more mailing lists