Searched refs:CEXPR_ROLE (Results 1 – 9 of 9) sorted by relevance
/external/selinux/checkpolicy/ |
D | policy_parse.y | 571 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_ROLE, $2); 586 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_ROLE, $2); 589 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), $2); 592 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_XTARGET), $2); 607 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_ROLE, CEXPR_EQ); 610 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_TARGET), CEXPR_EQ); 613 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_ROLE, $2);
|
D | policy_define.c | 3860 } else if (expr->attr & CEXPR_ROLE) { in define_cexpr()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | constraint.h | 42 #define CEXPR_ROLE 2 /* role */ macro
|
/external/selinux/libsepol/src/ |
D | services.c | 255 case CEXPR_ROLE: in get_name_list() 508 case CEXPR_ROLE: in constraint_expr_eval_reason() 644 } else if (e->attr & CEXPR_ROLE) { in constraint_expr_eval_reason() 645 u_r_t = CEXPR_ROLE; in constraint_expr_eval_reason()
|
D | kernel_to_conf.c | 155 case CEXPR_ROLE: attr1 ="r1"; attr2 ="r2"; break; in constraint_expr_to_str() 156 case CEXPR_ROLE | CEXPR_TARGET: attr1 ="r2"; attr2 =""; break; in constraint_expr_to_str() 157 case CEXPR_ROLE | CEXPR_XTARGET: attr1 ="r3"; attr2 =""; break; in constraint_expr_to_str() 185 } else if (curr->attr & CEXPR_ROLE) { in constraint_expr_to_str()
|
D | kernel_to_cil.c | 157 case CEXPR_ROLE: attr1 ="r1"; attr2 ="r2"; break; in constraint_expr_to_str() 158 case CEXPR_ROLE | CEXPR_TARGET: attr1 ="r2"; attr2 =""; break; in constraint_expr_to_str() 159 case CEXPR_ROLE | CEXPR_XTARGET: attr1 ="r3"; attr2 =""; break; in constraint_expr_to_str() 188 } else if (curr->attr & CEXPR_ROLE) { in constraint_expr_to_str()
|
D | module_to_cil.c | 1745 case CEXPR_ROLE: attr1 = "r1"; attr2 = "r2"; break; in constraint_expr_to_string() 1746 case CEXPR_ROLE | CEXPR_TARGET: attr1 = "r2"; attr2 = ""; break; in constraint_expr_to_string() 1747 case CEXPR_ROLE | CEXPR_XTARGET: attr1 = "r3"; attr2 = ""; break; in constraint_expr_to_string() 1790 } 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 | 2541 expr->attr = CEXPR_ROLE; in __cil_constrain_expr_leaf_to_sepol_expr() 2544 expr->attr = CEXPR_ROLE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr() 2547 expr->attr = CEXPR_ROLE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
|