Searched refs:policycap (Results 1 – 3 of 3) sorted by relevance
99 bool policycap[__POLICYDB_CAPABILITY_MAX]; member179 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_NETPEER]); in selinux_policycap_netpeer()186 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_OPENPERM]); in selinux_policycap_openperm()193 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_EXTSOCKCLASS]); in selinux_policycap_extsockclass()200 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_ALWAYSNETWORK]); in selinux_policycap_alwaysnetwork()207 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_CGROUPSECLABEL]); in selinux_policycap_cgroupseclabel()214 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION]); in selinux_policycap_nnp_nosuid_transition()221 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_GENFS_SECLABEL_SYMLINKS]); in selinux_policycap_genfs_seclabel_symlinks()228 return READ_ONCE(state->policycap[POLICYDB_CAPABILITY_IOCTL_SKIP_CLOEXEC]); in selinux_policycap_ioctl_skip_cloexec()
61 rc = strlcat(buf, state->policycap[i] ? on : off, buf_len); in selinux_ima_collect_state()
2156 for (i = 0; i < ARRAY_SIZE(state->policycap); i++) in security_load_policycaps()2157 WRITE_ONCE(state->policycap[i], in security_load_policycaps()