diff options
author | James Morris <jmorris@namei.org> | 2011-08-29 22:52:32 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 19:56:32 -0400 |
commit | 7b98a5857c3fa86cb0a7e5f893643491a8b5b425 (patch) | |
tree | 9e8b83d35a9c70f2c02853de808184871df3aba9 /security/selinux/include | |
parent | 0ff53f5ddbaebeac1c2735125901275acc1fecc6 (diff) |
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 4677aa519b04..d5c328452df0 100644 --- a/security/selinux/include/avc_ss.h +++ b/security/selinux/include/avc_ss.h | |||
@@ -18,5 +18,11 @@ struct security_class_mapping { | |||
18 | 18 | ||
19 | extern struct security_class_mapping secclass_map[]; | 19 | extern struct security_class_mapping secclass_map[]; |
20 | 20 | ||
21 | /* | ||
22 | * The security server must be initialized before | ||
23 | * any labeling or access decisions can be provided. | ||
24 | */ | ||
25 | extern int ss_initialized; | ||
26 | |||
21 | #endif /* _SELINUX_AVC_SS_H_ */ | 27 | #endif /* _SELINUX_AVC_SS_H_ */ |
22 | 28 | ||