Re: [PATCH net-next v6 1/3] scm: add SO_PASSPIDFD and SCM_PIDFD
From: Jakub Kicinski
Date: Mon May 22 2023 - 16:34:30 EST
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?