This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Deprecate and remove SYS_ system call numbers?
On 08/08/2016 05:06 PM, Florian Weimer wrote:
> On 08/08/2016 11:01 PM, Carlos O'Donell wrote:
>> On 08/08/2016 04:55 PM, Florian Weimer wrote:
>>> On 08/08/2016 10:47 PM, Andreas Schwab wrote:
>>>> Do you have a concrete example of any breakage?
>>>
>>> util-linux did not build because glibc was compiled against
>>> kernel headers which did not define __NR_sched_setattr, so glibc
>>> did not provide the SYS_sched_setattr macro.
>>
>> Rather than deprecating, should the kernel be taking
>> responsibility for defining SYS_* constants?
>
> Yes, considering Stan's and Zack's comment, this appears to be the
> only way to address the issue.
It doesn't seem terribly hard given the UAPI refactoring and the
machinery there.
--
Cheers,
Carlos.