Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h39 #define CEXPR_USER 1 /* user */ macro
/external/selinux/checkpolicy/
Dpolicy_parse.y558 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_USER, $2);
567 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_USER, $2);
570 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_TARGET), $2);
573 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_XTARGET), $2);
594 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_USER, CEXPR_EQ);
Dpolicy_define.c3739 if (expr->attr & CEXPR_USER) { in define_cexpr()
/external/selinux/libsepol/src/
Dservices.c250 case CEXPR_USER: in get_name_list()
495 case CEXPR_USER: in constraint_expr_eval_reason()
638 if (e->attr & CEXPR_USER) { in constraint_expr_eval_reason()
639 u_r_t = CEXPR_USER; in constraint_expr_eval_reason()
Dmodule_to_cil.c1658 case CEXPR_USER: attr1 = "u1"; attr2 = "u2"; break; in constraint_expr_to_string()
1659 case CEXPR_USER | CEXPR_TARGET: attr1 = "u2"; attr2 = ""; break; in constraint_expr_to_string()
1660 case CEXPR_USER | CEXPR_XTARGET: attr1 = "u3"; attr2 = ""; break; in constraint_expr_to_string()
1701 } else if (expr->attr & CEXPR_USER) { in constraint_expr_to_string()
Dexpand.c336 } else if (new_expr->attr & CEXPR_USER) { in constraint_node_clone()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2391 expr->attr = CEXPR_USER; in __cil_constrain_expr_leaf_to_sepol_expr()
2394 expr->attr = CEXPR_USER | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2397 expr->attr = CEXPR_USER | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()