This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Consensus around kernel syscall wrappers?


On 08/17/2015 03:37 PM, Florian Weimer wrote:
> On 08/13/2015 10:06 PM, Carlos O'Donell wrote:
>> Have we achieved consensus on the kernel syscall wrappers?
>>
>> https://sourceware.org/glibc/wiki/Consensus#WIP:_Kernel_syscalls_wrappers
> 
> I think it's worth adding another point, that the sole arbiter of the
> Linux API is Linus' kernel tree.  Which means we won't wrap system calls
> (or ioctl constants) related to non-mainline extensions.

Yes and no.

There is precedent for doing some work early, but gating it on kernel version.

https://sourceware.org/glibc/wiki/Style_and_Conventions#Support_for_features_not_yet_in_the_mainstream_Linux_kernel.3F

So you could use kernel-features.h to disable the code until some future kernel
version puts it in place.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]