Home
last modified time | relevance | path

Searched refs:CEXPR_TARGET (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h42 #define CEXPR_TARGET 8 /* target if set, source otherwise */ macro
/external/selinux/checkpolicy/
Dpolicy_parse.y570 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_TARGET), $2);
579 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), $2);
588 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), $2);
600 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), CEXPR_EQ);
609 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), CEXPR_EQ);
/external/selinux/libsepol/src/
Dmodule_to_cil.c1659 case CEXPR_USER | CEXPR_TARGET: attr1 = "u2"; attr2 = ""; break; in constraint_expr_to_string()
1662 case CEXPR_ROLE | CEXPR_TARGET: attr1 = "r2"; attr2 = ""; break; in constraint_expr_to_string()
1665 case CEXPR_TYPE | CEXPR_TARGET: attr1 = "t2"; attr2 = ""; break; in constraint_expr_to_string()
Dservices.c627 if (e->attr & CEXPR_TARGET) { in constraint_expr_eval_reason()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2394 expr->attr = CEXPR_USER | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2403 expr->attr = CEXPR_ROLE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2412 expr->attr = CEXPR_TYPE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()