Re: [PATCH] security: move LSM xattrnames to xattr.h

From: Mimi Zohar
Date: Wed Nov 03 2010 - 16:45:27 EST


On Wed, 2010-11-03 at 16:26 -0400, Eric Paris wrote:
> On Tue, Oct 12, 2010 at 9:40 AM, Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> wrote:
> > On Tue, 2010-10-12 at 09:19 -0400, Steve Grubb wrote:
>
> > Before making any changes to the kernel xattr.h, I want to understand
> > the reason for two xattr.h files, one in /usr/include/linux/ and the
> > other in /usr/include/xattr/. /usr/include/linux/xattr.h contains those
> > elements not defined as __kernel__, while /usr/include/xattr/xattr.h
> > contains that and other definitions. Will changing the kernel xattr.h
> > version change both?
>
> I don't know what /usr/include/xattr/ is but /usr/include/linux/ is
> where the kernel-headers are supposed to end up. I'm guessing
> /usr/include/xattr/ is the glibc function definitions? (my glibc
> function definitions for xattrs are in /usr/include/sys/xattr.h)
>
> I sent a patch to export them all. I didn't cc stable since it
> clearly change more than it needs to, but we really should send
> something to stable....
>
> -Eric

Thanks Eric. Don't know what happened, but /usr/include/xattr/xattr.h is
gone. /usr/include/sys/xattr.h contains the names of the user space
xattr tools, not the kernel version. I'll create the patch for stable.

thanks,

Mimi




--
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/