[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230522133409.5c6e839a@kernel.org>
Date: Mon, 22 May 2023 13:34:09 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@...onical.com>
Cc: davem@...emloft.net, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, Leon Romanovsky <leon@...nel.org>, David Ahern
<dsahern@...nel.org>, Arnd Bergmann <arnd@...db.de>, Kees Cook
<keescook@...omium.org>, Christian Brauner <brauner@...nel.org>, Kuniyuki
Iwashima <kuniyu@...zon.com>, Lennart Poettering <mzxreary@...inter.de>,
Luca Boccassi <bluca@...ian.org>, linux-arch@...r.kernel.org
Subject: Re: [PATCH net-next v6 1/3] scm: add SO_PASSPIDFD and SCM_PIDFD
On Mon, 22 May 2023 15:24:37 +0200 Alexander Mikhalitsyn wrote:
> v6:
> - disable feature when CONFIG_UNIX=n/m (pidfd_prepare API is not exported to modules)
IMHO hiding the code under #if IS_BUILTIN(CONFIG_UNRELATED) is
surprising to the user and.. ugly?
Can we move scm_pidfd_recv() into a C source and export that?
That should be less controversial than exporting pidfd_prepare()
directly?
Powered by blists - more mailing lists