[PATCH v2 3/3] posix: Remove posix waitid

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Feb 27 16:45:00 GMT 2020



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.



More information about the Libc-alpha mailing list