[PATCH] libc-compat.h for <bits/fcntl-linux.h>

Florian Weimer fweimer@redhat.com
Sun May 8 19:31:00 GMT 2016


On 05/08/2016 09:17 PM, Eric Neblock wrote:
> Hello everyone,
>    I've been doing some kernel hacking and added some new flags to the
> Linux kernel. I want to use these flags in userland without having to in
> an additional header (<asm-generic/fcntl.h>) and even then, there are
> conflicts, because almost everything is already defined.
>
>    As such, I filed a feature request (20050) and was informed about
> about the process to have compatibility.
>
>    I've attached a patch that shouldn't break anything. Incidentally,
> everything in the Linux Kernel matches what is done by glibc.

I've converted the patch to a forward patch in unified/git diff format, 
for easier review.

Thanks,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fcntl.patch
Type: text/x-patch
Size: 3530 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160508/a6e2537e/attachment.bin>


More information about the Libc-alpha mailing list