/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 138 cil_list_destroy(&uas->datum_expr, CIL_FALSE); in cil_reset_userattributeset() 177 cil_list_destroy(&ras->datum_expr, CIL_FALSE); in cil_reset_roleattributeset() 208 cil_list_destroy(&tas->datum_expr, CIL_FALSE); in cil_reset_typeattributeset() 247 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_reset_cats() 455 cil_list_destroy(&con->datum_expr, CIL_FALSE); in cil_reset_constrain() 460 cil_list_destroy(&vt->datum_expr, CIL_FALSE); in cil_reset_validatetrans() 475 cil_list_destroy(&bif->datum_expr, CIL_FALSE); in cil_reset_booleanif()
|
D | cil_write_ast.c | 315 if (cats->datum_expr) { in write_cats() 316 write_expr(out, cats->datum_expr); in write_cats() 389 if (cons->datum_expr) in write_constrain() 390 write_expr(out, cons->datum_expr); in write_constrain() 604 if (bif->datum_expr) in cil_write_ast_node() 605 write_expr(out, bif->datum_expr); in cil_write_ast_node() 616 if (tif->datum_expr) in cil_write_ast_node() 617 write_expr(out, tif->datum_expr); in cil_write_ast_node() 939 if (attr->datum_expr) in cil_write_ast_node() 940 write_expr(out, attr->datum_expr); in cil_write_ast_node() [all …]
|
D | cil_internal.h | 466 struct cil_list *datum_expr; member 518 struct cil_list *datum_expr; member 550 struct cil_list *datum_expr; member 688 struct cil_list *datum_expr; member 867 struct cil_list *datum_expr; member 874 struct cil_list *datum_expr; member 913 struct cil_list *datum_expr; member 919 struct cil_list *datum_expr; member
|
D | cil_copy_ast.c | 432 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_userattributeset() 571 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_roleattributeset() 637 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_typeattributeset() 915 cil_copy_expr(db, orig->datum_expr, &(*new)->datum_expr); in cil_copy_cats() 1446 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_constrain() 1463 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_validatetrans() 1584 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_boolif() 1600 cil_copy_expr(db, orig->datum_expr, &new->datum_expr); in cil_copy_tunif()
|
D | cil_resolve_ast.h | 95 …num cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_expr, struct cil_tree… 97 int cil_evaluate_expr(struct cil_list *datum_expr, uint16_t *result);
|
D | cil.c | 1483 cil_list_for_each(i, cats->datum_expr) { in cil_cats_to_ebitmap() 1487 cil_list_for_each(j, cs->cats->datum_expr) { in cil_cats_to_ebitmap() 1553 if (cats && cats->datum_expr != NULL) { in __cil_level_strlen() 1555 cil_list_for_each(item, cats->datum_expr) { in __cil_level_strlen() 1607 if (cats && cats->datum_expr != NULL) { in __cil_level_to_string() 1611 cil_list_for_each(item, cats->datum_expr) { in __cil_level_to_string() 2303 (*attrset)->datum_expr = NULL; in cil_roleattributeset_init() 2324 (*attrset)->datum_expr = NULL; in cil_typeattributeset_init() 2428 (*bif)->datum_expr = NULL; in cil_boolif_init() 2436 (*tif)->datum_expr = NULL; in cil_tunif_init() [all …]
|
D | cil_resolve_ast.c | 444 …rc = cil_resolve_expr(CIL_TYPEATTRIBUTESET, attrtypes->str_expr, &attrtypes->datum_expr, current, … in cil_resolve_typeattributeset() 453 cil_list_append(attr->expr_list, CIL_LIST, attrtypes->datum_expr); in cil_resolve_typeattributeset() 1152 …rc = cil_resolve_expr(CIL_ROLEATTRIBUTESET, attrroles->str_expr, &attrroles->datum_expr, current, … in cil_resolve_roleattributeset() 1161 cil_list_append(attr->expr_list, CIL_LIST, attrroles->datum_expr); in cil_resolve_roleattributeset() 1653 rc = cil_resolve_expr(CIL_CATSET, cats->str_expr, &cats->datum_expr, current, extra_args); in cil_resolve_cats() 1796 rc = cil_resolve_expr(CIL_CONSTRAIN, cons->str_expr, &cons->datum_expr, current, extra_args); in cil_resolve_constrain() 1820 …rc = cil_resolve_expr(CIL_VALIDATETRANS, validtrans->str_expr, &validtrans->datum_expr, current, e… in cil_resolve_validatetrans() 3222 …num cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_expr, struct cil_tree… in cil_resolve_expr() argument 3254 cil_list_init(datum_expr, str_expr->flavor); in cil_resolve_expr() 3272 if (!catset->cats->datum_expr) { in cil_resolve_expr() [all …]
|
D | cil_post.c | 73 cil_list_for_each(i, a->datum_expr) { in cats_compare() 74 cil_list_for_each(j, b->datum_expr) { in cats_compare() 1107 if (cil_verify_is_list(cats->datum_expr, CIL_CAT)) { in __evaluate_cat_expression() 1112 rc = __cil_expr_to_bitmap(cats->datum_expr, &bitmap, db->num_cats, db); in __evaluate_cat_expression() 1129 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in __evaluate_cat_expression() 1130 cats->datum_expr = new; in __evaluate_cat_expression() 1154 for (curr = catset->cats->datum_expr->head; curr; curr = curr->next) { in __cil_cat_to_bitmap()
|
D | cil_policy.c | 202 cil_list_for_each(i1, cats->datum_expr) { in cil_cats_to_policy() 976 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_mlsconstrains_to_policy() 998 expr_str = cil_cons_expr_to_string(db, trans->datum_expr); in cil_validatetrans_to_policy() 1445 cil_cond_expr_to_policy(args->out, bool->datum_expr, CIL_TRUE); in __cil_te_rules_to_policy_helper() 1645 expr_str = cil_cons_expr_to_string(db, cons->datum_expr); in cil_constrains_to_policy()
|
D | cil_verify.c | 483 rc = __verify_no_self_reference_in_expr(set->cats->datum_expr, stack); in cil_verify_no_self_reference() 598 cil_list_for_each(i, cats->datum_expr) { in __cil_is_cat_in_cats() 633 cil_list_for_each(i, cats->datum_expr) { in __cil_verify_cats_associated_with_sens() 696 cil_list_for_each(item, low->datum_expr) { in __cil_verify_levelrange_cats()
|
D | cil_build_ast.c | 1448 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_userattributeset() 2076 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_roleattributeset() 2931 cil_list_destroy(&bif->datum_expr, CIL_FALSE); in cil_destroy_boolif() 2994 cil_list_destroy(&tif->datum_expr, CIL_FALSE); in cil_destroy_tunif() 3208 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_typeattributeset() 4038 cil_list_destroy(&cons->datum_expr, CIL_FALSE); in cil_destroy_constrain() 4093 cil_list_destroy(&validtrans->datum_expr, CIL_FALSE); in cil_destroy_validatetrans() 5747 cil_list_destroy(&cats->datum_expr, CIL_FALSE); in cil_destroy_cats()
|
D | cil_binary.c | 2244 rc = __cil_cond_expr_to_sepol_expr(pdb, cil_boolif->datum_expr, &tmp_cond->expr); in cil_booleanif_to_policydb() 2890 rc = cil_constrain_expand(pdb, db, cil_constrain->classperms, cil_constrain->datum_expr); in cil_constrain_to_policydb() 2905 struct cil_list *expr = cil_validatetrans->datum_expr; in cil_validatetrans_to_policydb() 2945 cil_list_for_each(i, cats->datum_expr) { in __cil_cats_to_mls_level() 2950 cil_list_for_each(j, cs->cats->datum_expr) { in __cil_cats_to_mls_level()
|