Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/
Dpolicy_parse.y561 { $$ = 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);
Dpolicy_define.c3758 } else if (expr->attr & CEXPR_ROLE) { in define_cexpr()
/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h40 #define CEXPR_ROLE 2 /* role */ macro
/external/selinux/libsepol/src/
Dservices.c254 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()
Dmodule_to_cil.c1661 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()
Dexpand.c332 } else if (new_expr->attr & CEXPR_ROLE) { in constraint_node_clone()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2400 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()