summaryrefslogtreecommitdiffstats
path: root/security/selinux/include
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2006-11-18 05:01:03 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:24:16 +0100
commitbb22f58087fdf8b617803c9b65bc86c6d26b5115 (patch)
treeff68f85498cedce8858d44b80d0ae8c65b757056 /security/selinux/include
parentNetLabel: honor the audit_enabled flag (diff)
downloadlinux-bb22f58087fdf8b617803c9b65bc86c6d26b5115.tar.xz
linux-bb22f58087fdf8b617803c9b65bc86c6d26b5115.zip
Compile fix for "peer secid consolidation for external network labeling"
Use a forward declaration instead of dragging in skbuff.h and related junk. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/include')
-rw-r--r--security/selinux/include/security.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h
index 015f697e925f..210eec77e7ff 100644
--- a/security/selinux/include/security.h
+++ b/security/selinux/include/security.h
@@ -8,7 +8,6 @@
#ifndef _SELINUX_SECURITY_H_
#define _SELINUX_SECURITY_H_
-#include <linux/skbuff.h>
#include "flask.h"
#define SECSID_NULL 0x00000000 /* unspecified SID */
@@ -35,6 +34,8 @@
#define POLICYDB_VERSION_MAX POLICYDB_VERSION_RANGETRANS
#endif
+struct sk_buff;
+
extern int selinux_enabled;
extern int selinux_mls_enabled;