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:
parent
b46610caba
commit
5c884c1d4a
|
@ -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_ */
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue