diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 00:16:24 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-01-05 18:52:49 -0500 |
commit | 5c884c1d4ac955987e84acf2d36c0f160536aca4 (patch) | |
tree | a4d19da174e193a7844788846c53c25948ed2a54 /security | |
parent | b46610caba4bd9263afd07c7ef7a79974550554a (diff) |
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')
-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 | /** |