[PATCH v2 3/4] Refactor sigcontextinfo.h
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Aug 20 12:42:00 GMT 2019
On 20/08/2019 09:33, Florian Weimer wrote:
> * Adhemerval Zanella:
>
>> On 20/08/2019 08:51, Florian Weimer wrote:
>>> * Adhemerval Zanella:
>>>
>>>> diff --git a/sysdeps/posix/profil.c b/sysdeps/posix/profil.c
>>>> index 838c36d060..4b8fd9caf1 100644
>>>> --- a/sysdeps/posix/profil.c
>>>> +++ b/sysdeps/posix/profil.c
>>>
>>>> @@ -71,6 +72,10 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
>>>> # define oact_ptr &oact
>>>> # define otimer_ptr &otimer
>>>>
>>>> +# ifdef SA_SIGINFO
>>>> + oact.sa_flags |= SA_SIGINFO;
>>>> +# endif
>>>> +
>>>
>>> I do not understand the purpose of this change.
>>
>> This code is shared with Hurd and it does not support SA_SIGINFO
>> handler afaiu.
>
> Hurd indeed does not SA_SIGINFO. I do not understand the update of
> oact.
>
Right, it indeed wrong. I removed this locally.
More information about the Libc-alpha
mailing list