V2 [PATCH] Add a C wrapper for prctl [BZ #25896]

Andreas Schwab schwab@linux-m68k.org
Thu Apr 30 13:51:31 GMT 2020


On Apr 30 2020, Florian Weimer wrote:

> * Andreas Schwab:
>
>> On Apr 30 2020, H.J. Lu via Libc-alpha wrote:
>>
>>> diff --git a/include/sys/prctl.h b/include/sys/prctl.h
>>> index 0920ed642b..1a74d83879 100644
>>> --- a/include/sys/prctl.h
>>> +++ b/include/sys/prctl.h
>>> @@ -4,6 +4,8 @@
>>>  # ifndef _ISOMAC
>>>  
>>>  extern int __prctl (int __option, ...);
>>> +libc_hidden_proto (__prctl)
>>> +libc_hidden_proto (prctl)
>>
>> Why do you need the hidden alias for prctl?  All references inside
>> libc.so should use __prctl.
>
> Right.  I want to clean this up in a separate patch.

??? Why adding it in the first place?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list