Consensus around kernel syscall wrappers?
Carlos O'Donell
carlos@redhat.com
Mon Aug 17 19:41:00 GMT 2015
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.
More information about the Libc-alpha
mailing list