Skip to content

Commit

Permalink
Compile fix for "peer secid consolidation for external network labeling"
Browse files Browse the repository at this point in the history
Use a forward declaration instead of dragging in skbuff.h and
related junk.

Signed-off-by: James Morris <jmorris@namei.org>
  • Loading branch information
James Morris authored and David S. Miller committed Dec 3, 2006
1 parent de64688 commit bb22f58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion security/selinux/include/security.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -35,6 +34,8 @@
#define POLICYDB_VERSION_MAX POLICYDB_VERSION_RANGETRANS
#endif

struct sk_buff;

extern int selinux_enabled;
extern int selinux_mls_enabled;

Expand Down

0 comments on commit bb22f58

Please sign in to comment.