Home
last modified time | relevance | path

Searched refs:CEXPR_TYPE (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h43 #define CEXPR_TYPE 4 /* type */ macro
/external/selinux/checkpolicy/
Dpolicy_parse.y574 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_TYPE, $2);
595 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_TYPE, $2);
598 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), $2);
601 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_XTARGET), $2);
616 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_TYPE, CEXPR_EQ);
619 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), CEXPR_EQ);
Dpolicy_define.c3493 if (newe->attr & CEXPR_TYPE) { in constraint_expr_clone()
3879 } else if (expr->attr & CEXPR_TYPE) { in define_cexpr()
/external/selinux/libsepol/src/
Dservices.c223 type == CEXPR_TYPE) in get_name_list()
259 case CEXPR_TYPE: in get_name_list()
502 case CEXPR_TYPE: in constraint_expr_eval_reason()
649 } else if (e->attr & CEXPR_TYPE) { in constraint_expr_eval_reason()
650 u_r_t = CEXPR_TYPE; in constraint_expr_eval_reason()
Dkernel_to_conf.c158 case CEXPR_TYPE: attr1 ="t1"; attr2 ="t2"; break; in constraint_expr_to_str()
159 case CEXPR_TYPE | CEXPR_TARGET: attr1 ="t2"; attr2 =""; break; in constraint_expr_to_str()
160 case CEXPR_TYPE | CEXPR_XTARGET: attr1 ="t3"; attr2 =""; break; in constraint_expr_to_str()
180 if (curr->attr & CEXPR_TYPE) { in constraint_expr_to_str()
Dkernel_to_cil.c160 case CEXPR_TYPE: attr1 ="t1"; attr2 ="t2"; break; in constraint_expr_to_str()
161 case CEXPR_TYPE | CEXPR_TARGET: attr1 ="t2"; attr2 =""; break; in constraint_expr_to_str()
162 case CEXPR_TYPE | CEXPR_XTARGET: attr1 ="t3"; attr2 =""; break; in constraint_expr_to_str()
183 if (curr->attr & CEXPR_TYPE) { in constraint_expr_to_str()
Dmodule_to_cil.c1748 case CEXPR_TYPE: attr1 = "t1"; attr2 = ""; break; in constraint_expr_to_string()
1749 case CEXPR_TYPE | CEXPR_TARGET: attr1 = "t2"; attr2 = ""; break; in constraint_expr_to_string()
1750 case CEXPR_TYPE | CEXPR_XTARGET: attr1 = "t3"; attr2 = ""; break; in constraint_expr_to_string()
1779 if (expr->attr & CEXPR_TYPE) { in constraint_expr_to_string()
Dexpand.c310 if (new_expr->attr & CEXPR_TYPE) { in constraint_node_clone()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2550 expr->attr = CEXPR_TYPE; in __cil_constrain_expr_leaf_to_sepol_expr()
2553 expr->attr = CEXPR_TYPE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2556 expr->attr = CEXPR_TYPE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()