Searched refs:CEXPR_USER (Results 1 – 10 of 10) sorted by relevance
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | constraint.h | 40 #define CEXPR_USER 1 /* user */ macro
|
/third_party/selinux/checkpolicy/ |
D | policy_parse.y | 567 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_USER, $2); 576 { $$ = define_cexpr(CEXPR_NAMES, CEXPR_USER, $2); 579 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_TARGET), $2); 582 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_XTARGET), $2); 603 { $$ = define_cexpr(CEXPR_ATTR, CEXPR_USER, CEXPR_EQ);
|
D | policy_define.c | 3862 if (expr->attr & CEXPR_USER) { in define_cexpr()
|
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 261 case CEXPR_USER: in validate_constraint_nodes() 262 case CEXPR_USER | CEXPR_TARGET: in validate_constraint_nodes() 263 case CEXPR_USER | CEXPR_XTARGET: in validate_constraint_nodes() 297 if ((cexp->attr & CEXPR_USER) || (cexp->attr & CEXPR_TYPE)) in validate_constraint_nodes() 305 case CEXPR_USER: in validate_constraint_nodes()
|
D | services.c | 248 case CEXPR_USER: in get_name_list() 512 case CEXPR_USER: in constraint_expr_eval_reason() 655 if (e->attr & CEXPR_USER) { in constraint_expr_eval_reason() 656 u_r_t = CEXPR_USER; in constraint_expr_eval_reason()
|
D | kernel_to_conf.c | 152 case CEXPR_USER: attr1 ="u1"; attr2 ="u2"; break; in constraint_expr_to_str() 153 case CEXPR_USER | CEXPR_TARGET: attr1 ="u2"; attr2 =""; break; in constraint_expr_to_str() 154 case CEXPR_USER | CEXPR_XTARGET: attr1 ="u3"; attr2 =""; break; in constraint_expr_to_str() 183 } else if (curr->attr & CEXPR_USER) { in constraint_expr_to_str()
|
D | kernel_to_cil.c | 154 case CEXPR_USER: attr1 ="u1"; attr2 ="u2"; break; in constraint_expr_to_str() 155 case CEXPR_USER | CEXPR_TARGET: attr1 ="u2"; attr2 =""; break; in constraint_expr_to_str() 156 case CEXPR_USER | CEXPR_XTARGET: attr1 ="u3"; attr2 =""; break; in constraint_expr_to_str() 186 } else if (curr->attr & CEXPR_USER) { in constraint_expr_to_str()
|
D | module_to_cil.c | 1748 case CEXPR_USER: attr1 = "u1"; attr2 = "u2"; break; in constraint_expr_to_string() 1749 case CEXPR_USER | CEXPR_TARGET: attr1 = "u2"; attr2 = ""; break; in constraint_expr_to_string() 1750 case CEXPR_USER | CEXPR_XTARGET: attr1 = "u3"; attr2 = ""; break; in constraint_expr_to_string() 1791 } else if (expr->attr & CEXPR_USER) { in constraint_expr_to_string()
|
D | expand.c | 371 } else if (new_expr->attr & CEXPR_USER) { in constraint_node_clone()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 2649 expr->attr = CEXPR_USER; in __cil_constrain_expr_leaf_to_sepol_expr() 2652 expr->attr = CEXPR_USER | CEXPR_TARGET; in __cil_constrain_expr_leaf_to_sepol_expr() 2655 expr->attr = CEXPR_USER | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
|