Re: include/linux/xattr.h: how much userpace visible?

From: H. Peter Anvin
Date: Mon Feb 26 2007 - 18:34:25 EST


Andreas Gruenbacher wrote:
On Monday, 24 July 2006 00:57, Nathan Scott wrote:
On Sun, Jul 23, 2006 at 08:43:43PM +0200, Adrian Bunk wrote:
Hi,

how much of include/linux/xattr.h has to be part of the userspace kernel
headers?
None, I think.

None, indeed. The attr package comes with it own version of xattr.h that also includes definitions of XATTR_CREATE and XATTR_REPLACE.


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.)

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