Searched refs:CEXPR_TARGET (Results 1 – 7 of 7) sorted by relevance
/external/selinux/libsepol/include/sepol/policydb/ |
D | constraint.h | 44 #define CEXPR_TARGET 8 /* target if set, source otherwise */ macro
|
/external/selinux/checkpolicy/ |
D | policy_parse.y | 578 { $$ = 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/ |
D | kernel_to_cil.c | 153 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()
|
D | kernel_to_conf.c | 151 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()
|
D | module_to_cil.c | 1762 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()
|
D | services.c | 628 if (e->attr & CEXPR_TARGET) { in constraint_expr_eval_reason()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 2598 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()
|