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.y578 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_TARGET), $2);
587 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), $2);
596 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), $2);
608 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), CEXPR_EQ);
617 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), CEXPR_EQ);
/external/selinux/libsepol/src/
Dkernel_to_cil.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_conf.c151 case CEXPR_USER | CEXPR_TARGET: attr1 ="u2"; attr2 =""; break; in constraint_expr_to_str()
154 case CEXPR_ROLE | CEXPR_TARGET: attr1 ="r2"; attr2 =""; break; in constraint_expr_to_str()
157 case CEXPR_TYPE | CEXPR_TARGET: attr1 ="t2"; attr2 =""; break; in constraint_expr_to_str()
Dmodule_to_cil.c1762 case CEXPR_USER | CEXPR_TARGET: attr1 = "u2"; attr2 = ""; break; in constraint_expr_to_string()
1765 case CEXPR_ROLE | CEXPR_TARGET: attr1 = "r2"; attr2 = ""; break; in constraint_expr_to_string()
1768 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.c2598 expr->attr = CEXPR_USER | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2607 expr->attr = CEXPR_ROLE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2616 expr->attr = CEXPR_TYPE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()