Lines Matching refs:constraint
290 constraint_node_t *constraint, in get_class_info() argument
298 for (e = constraint->expr; e; e = e->next) { in get_class_info()
353 constraint->permissions)); in get_class_info()
389 constraint_node_t *constraint, in constraint_expr_eval_reason() argument
426 class_buf = get_class_info(tclass, constraint, xcontext); in constraint_expr_eval_reason()
436 for (e = constraint->expr; e; e = e->next) { in constraint_expr_eval_reason()
840 constraint_node_t *constraint; in context_struct_compute_av() local
910 constraint = tclass_datum->constraints; in context_struct_compute_av()
911 while (constraint) { in context_struct_compute_av()
912 if ((constraint->permissions & (avd->allowed)) && in context_struct_compute_av()
914 tclass, constraint, r_buf, flags)) { in context_struct_compute_av()
916 (avd->allowed) & ~(constraint->permissions); in context_struct_compute_av()
918 constraint = constraint->next; in context_struct_compute_av()
961 constraint_node_t *constraint; in sepol_validate_transition() local
987 constraint = tclass_datum->validatetrans; in sepol_validate_transition()
988 while (constraint) { in sepol_validate_transition()
990 0, constraint, NULL, 0)) { in sepol_validate_transition()
993 constraint = constraint->next; in sepol_validate_transition()
1014 constraint_node_t *constraint; in sepol_validate_transition_reason_buffer() local
1050 constraint = tclass_datum->validatetrans; in sepol_validate_transition_reason_buffer()
1051 while (constraint) { in sepol_validate_transition_reason_buffer()
1053 tclass, constraint, reason_buf, flags)) { in sepol_validate_transition_reason_buffer()
1056 constraint = constraint->next; in sepol_validate_transition_reason_buffer()