lkml.org 
[lkml]   [2010]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] security: move LSM xattrnames to xattr.h
From
Date
On Wed, 2010-11-03 at 16:26 -0400, Eric Paris wrote:
> On Tue, Oct 12, 2010 at 9:40 AM, Mimi Zohar <zohar@linux.vnet.ibm.com> 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






\
 
 \ /
  Last update: 2010-11-03 21:47    [W:0.060 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site