summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2006-11-17 23:01:03 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:24:16 -0800
commitbb22f58087fdf8b617803c9b65bc86c6d26b5115 (patch)
treeff68f85498cedce8858d44b80d0ae8c65b757056 /security
parentde64688ffb952a65ddbc5295ccd235d35f292593 (diff)
downloadlinux-3.10-bb22f58087fdf8b617803c9b65bc86c6d26b5115.tar.gz
linux-3.10-bb22f58087fdf8b617803c9b65bc86c6d26b5115.tar.bz2
linux-3.10-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')
-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 015f697e925..210eec77e7f 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;