[PATCH 3/3] posix: Remove posix waitid

Christian Brauner christian.brauner@ubuntu.com
Wed Nov 20 15:14:00 GMT 2019


On Wed, Nov 20, 2019 at 11:15:35AM -0300, Adhemerval Zanella wrote:
> The POSIX waitid implementation is problematic in some ways:
> 
>   - It emulates using waitpid, which default implementation calls
>     wait4 and wait4 returns ENOSYS as default.
> 
>   - Also by using waitpid it does not allod support the WNOWAIT,
>     WEXITED, WSTOPPED, or WCONTINUED flag.  With current POSIX
>     specification the flags are no longer marked as optional.
> 
> Also due BZ#23091 Hurd still uses the implementation, so it is moved
> to as a Hurd arch-specific folder (with some minor cleanups).
> 
> Checked against a i686-gnu (run-built-tests=no)

I haven't followed that thread too closely, so sorry for maybe redundant
questions.
Does this mean you're removing support for the waitid() _syscall_ from
glibc? How do you intend to deal with P_PIDFD released with kernel 5.3?

Christian



More information about the Libc-alpha mailing list