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

From: Ozan ÃaÄlayan
Date: Tue Oct 12 2010 - 07:19:21 EST


Cuma 02 Temmuz 2010 gÃnà (saat 03:16:01) James Morris ÅunlarÄ yazmÄÅtÄ:
> On Thu, 1 Jul 2010, Mimi Zohar wrote:
> > Make the security extended attributes names global. Updated to move
> > the remaining Smack xattrs.
> >
> > Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxx>
> > Acked-by: Serge Hallyn <serue@xxxxxxxxxx>
>

This drops

#define XATTR_CAPS_SUFFIX "capability"
#define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX

definitions from capability.h and puts them in xattr.h's #ifdef __KERNEL__
section making them invisible to userspace like libcap-ng causing build
failures.

Am I wrong?


---
Ozan ÃaÄlayan
TUBITAK/UEKAE - Pardus Linux
http://www.pardus.org.tr/eng
--
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/