aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorMimi Zohar <[email protected]>2010-07-01 19:07:43 +0000
committerJames Morris <[email protected]>2010-08-02 05:34:57 +0000
commitaf4f136056c984b0aa67feed7d3170b958370b2f (patch)
tree30b62cd9174044cbdfdddc1fe5e0f21e7ddde85c /security/selinux/hooks.c
parentKEYS: Reinstate lost passing of process keyring ID in call_sbin_request_key() (diff)
downloadkernel-af4f136056c984b0aa67feed7d3170b958370b2f.tar.gz
kernel-af4f136056c984b0aa67feed7d3170b958370b2f.zip
security: move LSM xattrnames to xattr.h
Make the security extended attributes names global. Updated to move the remaining Smack xattrs. Signed-off-by: Mimi Zohar <[email protected]> Acked-by: Serge Hallyn <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 0f524b7d102e..85338f0c0481 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -87,9 +87,6 @@
#include "netlabel.h"
#include "audit.h"
-#define XATTR_SELINUX_SUFFIX "selinux"
-#define XATTR_NAME_SELINUX XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX
-
#define NUM_SEL_MNT_OPTS 5
extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);