This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 3/3] posix: Remove posix waitid
On 18/02/2020 14:47, Adhemerval Zanella wrote:
>
>
> On 18/02/2020 11:02, 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)
>> ---
>> posix/tst-waitid.c | 14 +++---
>
> Ok, the changes on tst-waitid.c shouldn't be in this patch, but rather
> on the second one.
I will commit this patch shortly if no one opposes it.