summaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 14:16:24 +1000
committerEric Paris <eparis@redhat.com>2012-01-05 18:52:49 -0500
commit5c884c1d4ac955987e84acf2d36c0f160536aca4 (patch)
treea4d19da174e193a7844788846c53c25948ed2a54 /security/selinux
parentb46610caba4bd9263afd07c7ef7a79974550554a (diff)
downloadop-kernel-dev-5c884c1d4ac955987e84acf2d36c0f160536aca4.zip
op-kernel-dev-5c884c1d4ac955987e84acf2d36c0f160536aca4.tar.gz
selinux: sparse fix: move selinux_complete_init
Sparse fix: move selinux_complete_init Signed-off-by: James Morris <jmorris@namei.org> Signed-off-by: Eric Paris <eparis@redhat.com>
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 3ba4feb..8556e1a 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 f6917bc..37c50c6 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);
/**
OpenPOWER on IntegriCloud