lkml.org 
[lkml]   [2007]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: include/linux/xattr.h: how much userpace visible?
David Miller wrote:
>>>
>> However, it would be better if the ABI constants were exported, or at
>> least *exportable* (using a __KERNEL_XATTR_MACROS test macro or
>> something like that.)
>
> This is the same situation as the socket.h issue we're trying
> to figure out what to do about.
>
> wrt. the socket.h case I think I'm going to revert the guilty
> changeset for now until a better scheme is implemented

Indeed it is (as well as <linux/stat.h>).

I believe the use of feature macros is probably the way to go; that way
userspace can request subsets, which can vary from libc to libc.

There is, of course, the "ABI language" variant, but I don't see that
happening unless someone has a lot of time to spend on it.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-27 00:59    [W:0.041 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site