Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Dconstraint.h43 #define CEXPR_XTARGET 16 /* special 3rd target for validatetrans rule */ macro
/external/selinux/checkpolicy/
Dpolicy_parse.y573 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_USER | CEXPR_XTARGET), $2);
582 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_ROLE | CEXPR_XTARGET), $2);
591 { $$ = define_cexpr(CEXPR_NAMES, (CEXPR_TYPE | CEXPR_XTARGET), $2);
Dpolicy_define.c3450 if (e->attr & CEXPR_XTARGET) { in define_constraint()
/external/selinux/libsepol/src/
Dmodule_to_cil.c1660 case CEXPR_USER | CEXPR_XTARGET: attr1 = "u3"; attr2 = ""; break; in constraint_expr_to_string()
1663 case CEXPR_ROLE | CEXPR_XTARGET: attr1 = "r3"; attr2 = ""; break; in constraint_expr_to_string()
1666 case CEXPR_TYPE | CEXPR_XTARGET: attr1 = "t3"; attr2 = ""; break; in constraint_expr_to_string()
Dservices.c630 } else if (e->attr & CEXPR_XTARGET) { in constraint_expr_eval_reason()
Dwrite.c924 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in write_cons_helper()
Dpolicydb.c2049 if (!allowxtarget && (e->attr & CEXPR_XTARGET)) in read_cons_helper()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2397 expr->attr = CEXPR_USER | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2406 expr->attr = CEXPR_ROLE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()
2415 expr->attr = CEXPR_TYPE | CEXPR_XTARGET; in __cil_constrain_expr_leaf_to_sepol_expr()