summaryrefslogtreecommitdiff
path: root/security/selinux
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-17 11:13:31 +1000
committerJames Morris <jmorris@namei.org>2011-09-09 16:56:26 -0700
commitcc59a582d6081b296e481b8bc9676b5c2faad818 (patch)
tree5ed00269cea7ffef573c78e854a6369a32842437 /security/selinux
parent56a4ca996181b94b30e6b46509dc28e4ca3cc3f8 (diff)
downloadlinux-3.10-cc59a582d6081b296e481b8bc9676b5c2faad818.tar.gz
linux-3.10-cc59a582d6081b296e481b8bc9676b5c2faad818.tar.bz2
linux-3.10-cc59a582d6081b296e481b8bc9676b5c2faad818.zip
selinux: sparse fix: move selinux_complete_init
Sparse fix: move selinux_complete_init Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/include/security.h1
-rw-r--r--security/selinux/ss/services.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h
index 3ba4feba048..8556e1a263c 100644
--- a/security/selinux/include/security.h
+++ b/security/selinux/include/security.h
@@ -216,6 +216,7 @@ struct selinux_kernel_status {
extern void selinux_status_update_setenforce(int enforcing);
extern void selinux_status_update_policyload(int seqno);
+extern void selinux_complete_init(void);
#endif /* _SELINUX_SECURITY_H_ */
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index f6917bc0aa0..37c50c602f1 100644
--- a/security/selinux/ss/services.c
+++ b/security/selinux/ss/services.c
@@ -1790,7 +1790,6 @@ static void security_load_policycaps(void)
POLICYDB_CAPABILITY_OPENPERM);
}
-extern void selinux_complete_init(void);
static int security_preserve_bools(struct policydb *p);
/**