Home
last modified time | relevance | path

Searched refs:CEXPR_XTARGET (Results 1 – 11 of 11) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
Dconstraint.h45 #define CEXPR_XTARGET 16 /* special 3rd target for validatetrans rule */ macro
/third_party/selinux/libsepol/src/
Dpolicydb_validate.c240 if (cexp->attr & CEXPR_XTARGET && nperms != 0) in validate_constraint_nodes()
258 case CEXPR_USER | CEXPR_XTARGET: in validate_constraint_nodes()
264 case CEXPR_ROLE | CEXPR_XTARGET: in validate_constraint_nodes()
270 case CEXPR_TYPE | CEXPR_XTARGET: in validate_constraint_nodes()
Dkernel_to_conf.c154 case CEXPR_USER | CEXPR_XTARGET: attr1 ="u3"; attr2 =""; break; in constraint_expr_to_str()
157 case CEXPR_ROLE | CEXPR_XTARGET: attr1 ="r3"; attr2 =""; break; in constraint_expr_to_str()
160 case CEXPR_TYPE | CEXPR_XTARGET: attr1 ="t3"; attr2 =""; break; in constraint_expr_to_str()
172 if (curr->attr >= CEXPR_XTARGET) { in constraint_expr_to_str()
Dkernel_to_cil.c156 case CEXPR_USER | CEXPR_XTARGET: attr1 ="u3"; attr2 =""; break; in constraint_expr_to_str()
159 case CEXPR_ROLE | CEXPR_XTARGET: attr1 ="r3"; attr2 =""; break; in constraint_expr_to_str()
162 case CEXPR_TYPE | CEXPR_XTARGET: attr1 ="t3"; attr2 =""; break; in constraint_expr_to_str()
175 if (curr->attr >= CEXPR_XTARGET) { in constraint_expr_to_str()
Dmodule_to_cil.c1750 case CEXPR_USER | CEXPR_XTARGET: attr1 = "u3"; attr2 = ""; break; in constraint_expr_to_string()
1753 case CEXPR_ROLE | CEXPR_XTARGET: attr1 = "r3"; attr2 = ""; break; in constraint_expr_to_string()
1756 case CEXPR_TYPE | CEXPR_XTARGET: attr1 = "t3"; attr2 = ""; break; in constraint_expr_to_string()
Dservices.c647 } else if (e->attr & CEXPR_XTARGET) { in constraint_expr_eval_reason()
Dwrite.c1005 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in write_cons_helper()
Dpolicydb.c2214 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in read_cons_helper()
/third_party/selinux/checkpolicy/
Dpolicy_parse.y582 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_XTARGET), $2);
591 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_XTARGET), $2);
600 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_XTARGET), $2);
Dpolicy_define.c3560 if (e->attr & CEXPR_XTARGET) { in define_constraint()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c2655 expr->attr = CEXPR_USER | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2664 expr->attr = CEXPR_ROLE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2673 expr->attr = CEXPR_TYPE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()