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>
This commit is contained in:
James Morris 2011-08-30 14:16:24 +10:00 committed by Eric Paris
parent b46610caba
commit 5c884c1d4a
2 changed files with 1 additions and 1 deletions

View File

@ -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_ */

View File

@ -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);
/**