Searched refs:CEXPR_USER (Results 1 – 9 of 9) sorted by relevance
/external/selinux/libsepol/include/sepol/policydb/ |
D | constraint.h | 41 #define CEXPR_USER 1 /* user */ macro
|
/external/selinux/checkpolicy/ |
D | policy_parse.y | 566 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_USER, $2); 575 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_USER, $2); 578 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_TARGET), $2); 581 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_XTARGET), $2); 602 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_USER, CEXPR_EQ);
|
D | policy_define.c | 3867 if (expr->attr & CEXPR_USER) { in define_cexpr()
|
/external/selinux/libsepol/src/ |
D | services.c | 251 case CEXPR_USER: in get_name_list() 496 case CEXPR_USER: in constraint_expr_eval_reason() 639 if (e->attr & CEXPR_USER) { in constraint_expr_eval_reason() 640 u_r_t = CEXPR_USER; in constraint_expr_eval_reason()
|
D | kernel_to_conf.c | 147 case CEXPR_USER: attr1 ="u1"; attr2 ="u2"; break; in constraint_expr_to_str() 148 case CEXPR_USER | CEXPR_TARGET: attr1 ="u2"; attr2 =""; break; in constraint_expr_to_str() 149 case CEXPR_USER | CEXPR_XTARGET: attr1 ="u3"; attr2 =""; break; in constraint_expr_to_str() 178 } else if (curr->attr & CEXPR_USER) { in constraint_expr_to_str()
|
D | kernel_to_cil.c | 149 case CEXPR_USER: attr1 ="u1"; attr2 ="u2"; break; in constraint_expr_to_str() 150 case CEXPR_USER | CEXPR_TARGET: attr1 ="u2"; attr2 =""; break; in constraint_expr_to_str() 151 case CEXPR_USER | CEXPR_XTARGET: attr1 ="u3"; attr2 =""; break; in constraint_expr_to_str() 181 } else if (curr->attr & CEXPR_USER) { in constraint_expr_to_str()
|
D | module_to_cil.c | 1746 case CEXPR_USER: attr1 = "u1"; attr2 = "u2"; break; in constraint_expr_to_string() 1747 case CEXPR_USER | CEXPR_TARGET: attr1 = "u2"; attr2 = ""; break; in constraint_expr_to_string() 1748 case CEXPR_USER | CEXPR_XTARGET: attr1 = "u3"; attr2 = ""; break; in constraint_expr_to_string() 1789 } else if (expr->attr & CEXPR_USER) { in constraint_expr_to_string()
|
D | expand.c | 338 } else if (new_expr->attr & CEXPR_USER) { in constraint_node_clone()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 2581 expr->attr = CEXPR_USER; in __cil_constrain_expr_leaf_to_sepol_expr() 2584 expr->attr = CEXPR_USER | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr() 2587 expr->attr = CEXPR_USER | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
|