From: James Morris Date: Wed, 17 Aug 2011 01:13:31 +0000 (+1000) Subject: selinux: sparse fix: move selinux_complete_init X-Git-Tag: v3.2-rc1~78^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc59a582d6081b296e481b8bc9676b5c2faad818;p=platform%2Fupstream%2Fkernel-adaptation-pc.git selinux: sparse fix: move selinux_complete_init Sparse fix: move selinux_complete_init Signed-off-by: James Morris --- diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 3ba4feb..8556e1a 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 f6917bc..37c50c6 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); /**