[RFC] posix: Make system, popen, and wordexp try pidfd_spawn first (BZ 34001)
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Tue May 5 13:07:16 GMT 2026
On 05/05/26 10:05, Cristian Rodríguez wrote:
> On Mon, May 4, 2026 at 9:58 AM Adhemerval Zanella Netto
> <adhemerval.zanella@linaro.org> wrote:
> (afaik waitid (PIDFD, ...) will signal an error if the process is
>> already reaped).
>
> Yes, it will return ECHILD..afaik.
And I am not sure we can change it, because it will subtly change the functions
semantics and we will always need a clone fallback (that always send the signal)
for ABI that do not have clone3 and on kernel that do not support it.
More information about the Libc-alpha
mailing list