Searched refs:CEXPR_XTARGET (Results 1 – 11 of 11) sorted by relevance
45 #define CEXPR_XTARGET 16 /* special 3rd target for validatetrans rule */ macro
240 if (cexp->attr & CEXPR_XTARGET && nperms != 0) in validate_constraint_nodes()258 case CEXPR_USER | CEXPR_XTARGET: in validate_constraint_nodes()264 case CEXPR_ROLE | CEXPR_XTARGET: in validate_constraint_nodes()270 case CEXPR_TYPE | CEXPR_XTARGET: in validate_constraint_nodes()
154 case CEXPR_USER | CEXPR_XTARGET: attr1 ="u3"; attr2 =""; break; in constraint_expr_to_str()157 case CEXPR_ROLE | CEXPR_XTARGET: attr1 ="r3"; attr2 =""; break; in constraint_expr_to_str()160 case CEXPR_TYPE | CEXPR_XTARGET: attr1 ="t3"; attr2 =""; break; in constraint_expr_to_str()172 if (curr->attr >= CEXPR_XTARGET) { in constraint_expr_to_str()
156 case CEXPR_USER | CEXPR_XTARGET: attr1 ="u3"; attr2 =""; break; in constraint_expr_to_str()159 case CEXPR_ROLE | CEXPR_XTARGET: attr1 ="r3"; attr2 =""; break; in constraint_expr_to_str()162 case CEXPR_TYPE | CEXPR_XTARGET: attr1 ="t3"; attr2 =""; break; in constraint_expr_to_str()175 if (curr->attr >= CEXPR_XTARGET) { in constraint_expr_to_str()
1750 case CEXPR_USER | CEXPR_XTARGET: attr1 = "u3"; attr2 = ""; break; in constraint_expr_to_string()1753 case CEXPR_ROLE | CEXPR_XTARGET: attr1 = "r3"; attr2 = ""; break; in constraint_expr_to_string()1756 case CEXPR_TYPE | CEXPR_XTARGET: attr1 = "t3"; attr2 = ""; break; in constraint_expr_to_string()
647 } else if (e->attr & CEXPR_XTARGET) { in constraint_expr_eval_reason()
1005 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in write_cons_helper()
2214 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in read_cons_helper()
582 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_XTARGET), $2);591 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_XTARGET), $2);600 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_XTARGET), $2);
3560 if (e->attr & CEXPR_XTARGET) { in define_constraint()
2655 expr->attr = CEXPR_USER | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()2664 expr->attr = CEXPR_ROLE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()2673 expr->attr = CEXPR_TYPE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()