This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 5/7] linux: Use waitid on wait4 if __NR_wait4 is not defined
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Alistair Francis <alistair23 at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 3 Dec 2019 16:18:41 -0300
- Subject: Re: [PATCH 5/7] linux: Use waitid on wait4 if __NR_wait4 is not defined
- References: <20191114144704.19002-1-adhemerval.zanella@linaro.org> <20191114144704.19002-5-adhemerval.zanella@linaro.org> <ae1017d0-906c-7e76-b2e8-00f5f67e3281@linaro.org> <CAKmqyKOdTjQVMBeJM6p2rKNZSF+EF9WqYditZJ91FNapV4uSUg@mail.gmail.com> <a0b3de47-8f1b-e737-02bf-a1adeeb8b2d2@linaro.org> <CAKmqyKNOk_EPAo5Cr=2qUyVwEEGnRXRXwEm4oGVXUPd==NJ5mw@mail.gmail.com> <21e43b69-28a4-2d38-1faa-a4432f3cf255@linaro.org> <d5c03878-404a-888a-a9df-a491858b5de4@linaro.org> <CAKmqyKMCjZD7rAX+FJoKq894sBhf7pjmfCh+j=GmOs_bWK1WDg@mail.gmail.com>
On 03/12/2019 15:58, Alistair Francis wrote:
> On Mon, Nov 25, 2019 at 4:42 AM Adhemerval Zanella
> <adhemerval.zanella@linaro.org> wrote:
>>
>>
>>
>> On 25/11/2019 09:39, Adhemerval Zanella wrote:
>>
>>> So it seems that __ASSUME_WAITID_PID0_P_PGID should be a safe call to
>>> avoid such theoretical scenarios. I will rework how the flag is used
>>> to mimic other assume usage where newer kernel version undef the flag,
>>> so it should be simpler to remove it once the minimum kernel is lifted.
>>>
>>
>> In fact I think change the __ASSUME_WAITID_PID0_P_PGID won't be much
>> a improvement
>
> Any update on this series?
I am working on a libpthread-compat.c patch I plan to update, so I can
rebase against it.