Searched refs:policycap (Results 1 – 2 of 2) sorted by relevance
107 bool policycap[__POLICYDB_CAPABILITY_MAX]; member145 return state->policycap[POLICYDB_CAPABILITY_NETPEER]; in selinux_policycap_netpeer()152 return state->policycap[POLICYDB_CAPABILITY_OPENPERM]; in selinux_policycap_openperm()159 return state->policycap[POLICYDB_CAPABILITY_EXTSOCKCLASS]; in selinux_policycap_extsockclass()166 return state->policycap[POLICYDB_CAPABILITY_ALWAYSNETWORK]; in selinux_policycap_alwaysnetwork()173 return state->policycap[POLICYDB_CAPABILITY_CGROUPSECLABEL]; in selinux_policycap_cgroupseclabel()180 return state->policycap[POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION]; in selinux_policycap_nnp_nosuid_transition()
2115 for (i = 0; i < ARRAY_SIZE(state->policycap); i++) in security_load_policycaps()2116 state->policycap[i] = ebitmap_get_bit(&p->policycaps, i); in security_load_policycaps()