Lines Matching refs:READ_ONCE
128 return READ_ONCE(state->enforcing); in enforcing_enabled()
148 return READ_ONCE(state->checkreqprot); in checkreqprot_get()
159 return READ_ONCE(state->disabled); in selinux_disabled()
177 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_NETPEER]); in selinux_policycap_netpeer()
184 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_OPENPERM]); in selinux_policycap_openperm()
191 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_EXTSOCKCLASS]); in selinux_policycap_extsockclass()
198 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_ALWAYSNETWORK]); in selinux_policycap_alwaysnetwork()
205 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_CGROUPSECLABEL]); in selinux_policycap_cgroupseclabel()
212 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION]); in selinux_policycap_nnp_nosuid_transition()
219 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_GENFS_SECLABEL_SYMLINKS]); in selinux_policycap_genfs_seclabel_symlinks()
226 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_IOCTL_SKIP_CLOEXEC]); in selinux_policycap_ioctl_skip_cloexec()