Searched refs:policycap (Results 1 – 2 of 2) sorted by relevance
107 bool policycap[__POLICYDB_CAPABILITY_MAX]; member143 return state->policycap[POLICYDB_CAPABILITY_NETPEER]; in selinux_policycap_netpeer()150 return state->policycap[POLICYDB_CAPABILITY_OPENPERM]; in selinux_policycap_openperm()157 return state->policycap[POLICYDB_CAPABILITY_EXTSOCKCLASS]; in selinux_policycap_extsockclass()164 return state->policycap[POLICYDB_CAPABILITY_ALWAYSNETWORK]; in selinux_policycap_alwaysnetwork()171 return state->policycap[POLICYDB_CAPABILITY_CGROUPSECLABEL]; in selinux_policycap_cgroupseclabel()178 return state->policycap[POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION]; in selinux_policycap_nnp_nosuid_transition()
2109 for (i = 0; i < ARRAY_SIZE(state->policycap); i++) in security_load_policycaps()2110 state->policycap[i] = ebitmap_get_bit(&p->policycaps, i); in security_load_policycaps()