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