This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: linux/xattr.h and sys/xattr.h conflicts
- From: Allan McRae <allan at archlinux dot org>
- To: Mike Frysinger <vapier at gentoo dot org>, libc-alpha at sourceware dot org
- Date: Mon, 06 Jan 2014 14:02:24 +1000
- Subject: Re: linux/xattr.h and sys/xattr.h conflicts
- Authentication-results: sourceware.org; auth=none
- References: <52C96CC7 dot 4020006 at archlinux dot org> <20140105193242 dot GZ24286 at brightrain dot aerifal dot cx> <52C9E0A1 dot 7060007 at archlinux dot org> <201401051821 dot 50272 dot vapier at gentoo dot org>
On 06/01/14 09:21, Mike Frysinger wrote:
> On Sunday 05 January 2014 17:45:53 Allan McRae wrote:
>> I agree. But I also think the incompatibility between headers is a bug
>> that needs fixed. So I'd like to fix that as the first step.
>
> we have the same issue with ptrace (and probably many other headers).
> Carlos/David's work on making the net headers play nicely together is probably
> the model we want to standardize & document & deploy.
I just spent some time going over the work with the net headers. For
reference, here are the patches:
https://sourceware.org/ml/libc-alpha/2013-08/msg00208.html
https://sourceware.org/ml/libc-alpha/2013-08/msg00209.html
There is quite good documentation of the process added in
<linux/libc-compat.h>, but I think a wiki page would be good too. I'll
try and get that started soon.
Now that the groundwork has been done, extending this for other headers
should be relatively easy. So I'll take that approach to the xattr.h
conflicts.
Allan