OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selinux: sparse fix: fix several warnings in the security server code
[android-x86/kernel.git]
/
security
/
selinux
/
include
/
avc_ss.h
diff --git
a/security/selinux/include/avc_ss.h
b/security/selinux/include/avc_ss.h
index
4677aa5
..
d5c3284
100644
(file)
--- 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_ */