Lines Matching defs:selinux_state
92 struct selinux_state {
108 extern struct selinux_state selinux_state;
113 return smp_load_acquire(&selinux_state.initialized);
119 smp_store_release(&selinux_state.initialized, true);
125 return READ_ONCE(selinux_state.enforcing);
130 WRITE_ONCE(selinux_state.enforcing, value);
151 return READ_ONCE(selinux_state.policycap[POLICYDB_CAP_NETPEER]);
156 return READ_ONCE(selinux_state.policycap[POLICYDB_CAP_OPENPERM]);
161 return READ_ONCE(selinux_state.policycap[POLICYDB_CAP_EXTSOCKCLASS]);
166 return READ_ONCE(selinux_state.policycap[POLICYDB_CAP_ALWAYSNETWORK]);
171 return READ_ONCE(selinux_state.policycap[POLICYDB_CAP_CGROUPSECLABEL]);
177 selinux_state.policycap[POLICYDB_CAP_NNP_NOSUID_TRANSITION]);
183 selinux_state.policycap[POLICYDB_CAP_GENFS_SECLABEL_SYMLINKS]);
189 selinux_state.policycap[POLICYDB_CAP_IOCTL_SKIP_CLOEXEC]);
195 selinux_state.policycap[POLICYDB_CAP_USERSPACE_INITIAL_CONTEXT]);