[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZcJHtqqvxUoBJLRo@tycho.pizza>
Date: Tue, 6 Feb 2024 07:52:38 -0700
From: Tycho Andersen <tycho@...ho.pizza>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Christian Brauner <brauner@...nel.org>,
Andy Lutomirski <luto@...capital.net>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
linux-api@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pidfd: clone: allow CLONE_THREAD | CLONE_PIDFD together
On Mon, Feb 05, 2024 at 03:55:32PM +0100, Oleg Nesterov wrote:
> copy_process() just needs to pass PIDFD_THREAD to __pidfd_prepare()
> if clone_flags & CLONE_THREAD.
>
> We can also add another CLONE_ flag (or perhaps reuse CLONE_DETACHED)
> to enforce PIDFD_THREAD without CLONE_THREAD.
>
> Originally-from: Tycho Andersen <tycho@...ho.pizza>
Goes without saying I suppose, but,
Reviewed-by: Tycho Andersen <tandersen@...flix.com>
as well.
Tycho
Powered by blists - more mailing lists