]> Pileus Git - ~andy/linux/blobdiff - security/selinux/hooks.c
Merge branch 'upstream/xen-settime' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / security / selinux / hooks.c
index 1206cee31c791f7613d461a4770a16d11e40e0bd..1126c10a5e821d1d835aa0aa7d83dfba5a04028f 100644 (file)
@@ -80,6 +80,7 @@
 #include <linux/posix-timers.h>
 #include <linux/syslog.h>
 #include <linux/user_namespace.h>
+#include <linux/export.h>
 
 #include "avc.h"
 #include "objsec.h"
@@ -89,6 +90,7 @@
 #include "xfrm.h"
 #include "netlabel.h"
 #include "audit.h"
+#include "avc_ss.h"
 
 #define NUM_SEL_MNT_OPTS 5
 
@@ -278,10 +280,6 @@ static void superblock_free_security(struct super_block *sb)
        kfree(sbsec);
 }
 
-/* The security server must be initialized before
-   any labeling or access decisions can be provided. */
-extern int ss_initialized;
-
 /* The file system's label must be initialized prior to use. */
 
 static const char *labeling_behaviors[6] = {