Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h45 #define CEXPR_XTARGET 16 /* special 3rd target for validatetrans rule */ macro
/external/selinux/checkpolicy/
Dpolicy_parse.y583 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_XTARGET), $2);
592 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_XTARGET), $2);
601 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_XTARGET), $2);
Dpolicy_define.c3555 if (e->attr & CEXPR_XTARGET) { in define_constraint()
/external/selinux/libsepol/src/
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()
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()
Dmodule_to_cil.c1744 case CEXPR_USER | CEXPR_XTARGET: attr1 = "u3"; attr2 = ""; break; in constraint_expr_to_string()
1747 case CEXPR_ROLE | CEXPR_XTARGET: attr1 = "r3"; attr2 = ""; break; in constraint_expr_to_string()
1750 case CEXPR_TYPE | CEXPR_XTARGET: attr1 = "t3"; attr2 = ""; break; in constraint_expr_to_string()
Dservices.c631 } else if (e->attr & CEXPR_XTARGET) { in constraint_expr_eval_reason()
Dwrite.c945 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in write_cons_helper()
Dpolicydb.c2215 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in read_cons_helper()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2538 expr->attr = CEXPR_USER | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2547 expr->attr = CEXPR_ROLE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2556 expr->attr = CEXPR_TYPE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()