From: James Morris Date: Tue, 30 Aug 2011 04:16:24 +0000 (+1000) Subject: selinux: sparse fix: move selinux_complete_init X-Git-Tag: MMI-PSA29.97-13-9~17627^2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c884c1d4ac955987e84acf2d36c0f160536aca4;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git selinux: sparse fix: move selinux_complete_init Sparse fix: move selinux_complete_init Signed-off-by: James Morris Signed-off-by: Eric Paris --- 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 { 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 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) POLICYDB_CAPABILITY_OPENPERM); } -extern void selinux_complete_init(void); static int security_preserve_bools(struct policydb *p); /**