Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/
Dpolicy_parse.y564 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_TYPE, $2);
585 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_TYPE, $2);
588 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), $2);
591 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_XTARGET), $2);
606 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_TYPE, CEXPR_EQ);
609 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_TARGET), CEXPR_EQ);
Dpolicy_define.c3388 if (newe->attr & CEXPR_TYPE) { in constraint_expr_clone()
3777 } else if (expr->attr & CEXPR_TYPE) { in define_cexpr()
/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h41 #define CEXPR_TYPE 4 /* type */ macro
/external/selinux/libsepol/src/
Dservices.c222 type == CEXPR_TYPE) in get_name_list()
258 case CEXPR_TYPE: in get_name_list()
501 case CEXPR_TYPE: in constraint_expr_eval_reason()
648 } else if (e->attr & CEXPR_TYPE) { in constraint_expr_eval_reason()
649 u_r_t = CEXPR_TYPE; in constraint_expr_eval_reason()
Dmodule_to_cil.c1664 case CEXPR_TYPE: attr1 = "t1"; attr2 = ""; break; in constraint_expr_to_string()
1665 case CEXPR_TYPE | CEXPR_TARGET: attr1 = "t2"; attr2 = ""; break; in constraint_expr_to_string()
1666 case CEXPR_TYPE | CEXPR_XTARGET: attr1 = "t3"; attr2 = ""; break; in constraint_expr_to_string()
1695 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.c2409 expr->attr = CEXPR_TYPE; in __cil_constrain_expr_leaf_to_sepol_expr()
2412 expr->attr = CEXPR_TYPE | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2415 expr->attr = CEXPR_TYPE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()