diff options
author | James Morris <jmorris@namei.org> | 2011-08-16 21:13:31 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 19:56:26 -0400 |
commit | cc59a582d6081b296e481b8bc9676b5c2faad818 (patch) | |
tree | 5ed00269cea7ffef573c78e854a6369a32842437 /security/selinux | |
parent | 56a4ca996181b94b30e6b46509dc28e4ca3cc3f8 (diff) |
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.h | 1 | ||||
-rw-r--r-- | security/selinux/ss/services.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 3ba4feba048a..8556e1a263c2 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h | |||
@@ -216,6 +216,7 @@ struct selinux_kernel_status { | |||
216 | 216 | ||
217 | extern void selinux_status_update_setenforce(int enforcing); | 217 | extern void selinux_status_update_setenforce(int enforcing); |
218 | extern void selinux_status_update_policyload(int seqno); | 218 | extern void selinux_status_update_policyload(int seqno); |
219 | extern void selinux_complete_init(void); | ||
219 | 220 | ||
220 | #endif /* _SELINUX_SECURITY_H_ */ | 221 | #endif /* _SELINUX_SECURITY_H_ */ |
221 | 222 | ||
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index f6917bc0aa05..37c50c602f17 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c | |||
@@ -1790,7 +1790,6 @@ static void security_load_policycaps(void) | |||
1790 | POLICYDB_CAPABILITY_OPENPERM); | 1790 | POLICYDB_CAPABILITY_OPENPERM); |
1791 | } | 1791 | } |
1792 | 1792 | ||
1793 | extern void selinux_complete_init(void); | ||
1794 | static int security_preserve_bools(struct policydb *p); | 1793 | static int security_preserve_bools(struct policydb *p); |
1795 | 1794 | ||
1796 | /** | 1795 | /** |