Searched refs:CEXPR_ROLE (Results 1 – 7 of 7) sorted by relevance
/external/selinux/checkpolicy/ |
D | policy_parse.y | 561 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_ROLE, $2); 576 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_ROLE, $2); 579 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), $2); 582 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_XTARGET), $2); 597 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_ROLE, CEXPR_EQ); 600 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), CEXPR_EQ); 603 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_ROLE, $2);
|
D | policy_define.c | 3758 } else if (expr->attr & CEXPR_ROLE) { in define_cexpr()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | constraint.h | 40 #define CEXPR_ROLE 2 /* role */ macro
|
/external/selinux/libsepol/src/ |
D | services.c | 254 case CEXPR_ROLE: in get_name_list() 507 case CEXPR_ROLE: in constraint_expr_eval_reason() 643 } else if (e->attr & CEXPR_ROLE) { in constraint_expr_eval_reason() 644 u_r_t = CEXPR_ROLE; in constraint_expr_eval_reason()
|
D | module_to_cil.c | 1661 case CEXPR_ROLE: attr1 = "r1"; attr2 = "r2"; break; in constraint_expr_to_string() 1662 case CEXPR_ROLE | CEXPR_TARGET: attr1 = "r2"; attr2 = ""; break; in constraint_expr_to_string() 1663 case CEXPR_ROLE | CEXPR_XTARGET: attr1 = "r3"; attr2 = ""; break; in constraint_expr_to_string() 1706 } else if (expr->attr & CEXPR_ROLE) { in constraint_expr_to_string()
|
D | expand.c | 332 } else if (new_expr->attr & CEXPR_ROLE) { in constraint_node_clone()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 2400 expr->attr = CEXPR_ROLE; in __cil_constrain_expr_leaf_to_sepol_expr() 2403 expr->attr = CEXPR_ROLE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr() 2406 expr->attr = CEXPR_ROLE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
|