diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 02:52:32 (GMT) |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 23:56:32 (GMT) |
commit | 7b98a5857c3fa86cb0a7e5f893643491a8b5b425 (patch) | |
tree | 9e8b83d35a9c70f2c02853de808184871df3aba9 /security/selinux/include | |
parent | 0ff53f5ddbaebeac1c2735125901275acc1fecc6 (diff) | |
download | linux-fsl-qoriq-7b98a5857c3fa86cb0a7e5f893643491a8b5b425.tar.xz |
selinux: sparse fix: fix several warnings in the security server code
Fix several sparse warnings in the SELinux security server code.
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/include')
-rw-r--r-- | security/selinux/include/avc_ss.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/security/selinux/include/avc_ss.h b/security/selinux/include/avc_ss.h index 4677aa5..d5c3284 100644 --- a/security/selinux/include/avc_ss.h +++ b/security/selinux/include/avc_ss.h @@ -18,5 +18,11 @@ struct security_class_mapping { extern struct security_class_mapping secclass_map[]; +/* + * The security server must be initialized before + * any labeling or access decisions can be provided. + */ +extern int ss_initialized; + #endif /* _SELINUX_AVC_SS_H_ */ |