Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 2 of 2) sorted by relevance

/security/selinux/ss/
Dservices.c620 struct constraint_node *constraint; in context_struct_compute_av() local
682 constraint = tclass_datum->constraints; in context_struct_compute_av()
683 while (constraint) { in context_struct_compute_av()
684 if ((constraint->permissions & (avd->allowed)) && in context_struct_compute_av()
686 constraint->expr)) { in context_struct_compute_av()
687 avd->allowed &= ~(constraint->permissions); in context_struct_compute_av()
689 constraint = constraint->next; in context_struct_compute_av()
758 struct constraint_node *constraint; in security_compute_validatetrans() local
806 constraint = tclass_datum->validatetrans; in security_compute_validatetrans()
807 while (constraint) { in security_compute_validatetrans()
[all …]
Dpolicydb.c222 struct constraint_node *constraint, *ctemp; in cls_destroy() local
230 constraint = cladatum->constraints; in cls_destroy()
231 while (constraint) { in cls_destroy()
232 e = constraint->expr; in cls_destroy()
238 ctemp = constraint; in cls_destroy()
239 constraint = constraint->next; in cls_destroy()
243 constraint = cladatum->validatetrans; in cls_destroy()
244 while (constraint) { in cls_destroy()
245 e = constraint->expr; in cls_destroy()
251 ctemp = constraint; in cls_destroy()
[all …]