diff options
author | Andrew Morton <akpm@osdl.org> | 2004-01-20 03:13:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-20 03:13:20 -0800 |
commit | 76ef5df33f02b6db0f67ca2cb78bde84145d47a0 (patch) | |
tree | f9f5b7a6e0bd5fdc52e9515906bd0b6970a24be6 /security | |
parent | 66a6ef19520f037127edabb4d663378fbb92b843 (diff) | |
download | history-76ef5df33f02b6db0f67ca2cb78bde84145d47a0.tar.gz |
[PATCH] Move XATTR_SECURITY_PREFIX macro to common location
From: Chris Wright <chrisw@osdl.org>
Move the XATTR_SECURITY_PREFIX macro to the xattr.h header so that it's in a
common location.
(Acked by Stephen Smalley)
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/hooks.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 27b80131617be1..cf1a9eca6629d5 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -16,10 +16,6 @@ * as published by the Free Software Foundation. */ -#define XATTR_SECURITY_PREFIX "security." -#define XATTR_SELINUX_SUFFIX "selinux" -#define XATTR_NAME_SELINUX XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX - #include <linux/config.h> #include <linux/module.h> #include <linux/init.h> @@ -65,6 +61,9 @@ #include "objsec.h" #include "netif.h" +#define XATTR_SELINUX_SUFFIX "selinux" +#define XATTR_NAME_SELINUX XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX + #ifdef CONFIG_SECURITY_SELINUX_DEVELOP int selinux_enforcing = 0; |