Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h44 #define CEXPR_TARGET 8 /* target if set, source otherwise */ macro
/external/selinux/checkpolicy/
Dpolicy_parse.y580 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_TARGET), $2);
589 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), $2);
598 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), $2);
610 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), CEXPR_EQ);
619 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), CEXPR_EQ);
/external/selinux/libsepol/src/
Dkernel_to_conf.c153 case CEXPR_USER | CEXPR_TARGET: attr1 ="u2"; attr2 =""; break; in constraint_expr_to_str()
156 case CEXPR_ROLE | CEXPR_TARGET: attr1 ="r2"; attr2 =""; break; in constraint_expr_to_str()
159 case CEXPR_TYPE | CEXPR_TARGET: attr1 ="t2"; attr2 =""; break; in constraint_expr_to_str()
Dkernel_to_cil.c155 case CEXPR_USER | CEXPR_TARGET: attr1 ="u2"; attr2 =""; break; in constraint_expr_to_str()
158 case CEXPR_ROLE | CEXPR_TARGET: attr1 ="r2"; attr2 =""; break; in constraint_expr_to_str()
161 case CEXPR_TYPE | CEXPR_TARGET: attr1 ="t2"; attr2 =""; break; in constraint_expr_to_str()
Dmodule_to_cil.c1743 case CEXPR_USER | CEXPR_TARGET: attr1 = "u2"; attr2 = ""; break; in constraint_expr_to_string()
1746 case CEXPR_ROLE | CEXPR_TARGET: attr1 = "r2"; attr2 = ""; break; in constraint_expr_to_string()
1749 case CEXPR_TYPE | CEXPR_TARGET: attr1 = "t2"; attr2 = ""; break; in constraint_expr_to_string()
Dservices.c628 if (e->attr & CEXPR_TARGET) { in constraint_expr_eval_reason()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2535 expr->attr = CEXPR_USER | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2544 expr->attr = CEXPR_ROLE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2553 expr->attr = CEXPR_TYPE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()