Home
last modified time | relevance | path

Searched refs:cil_list_append (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c104 cil_list_append(db->names, CIL_NAME, name); in __cil_insert_name()
124 cil_list_append(*perm_datums, CIL_LIST, sub_list); in __cil_resolve_perms()
142 cil_list_append(*perm_datums, CIL_LIST, empty_list); in __cil_resolve_perms()
144 cil_list_append(*perm_datums, CIL_DATUM, perm_datum); in __cil_resolve_perms()
147 cil_list_append(*perm_datums, curr->flavor, curr->data); in __cil_resolve_perms()
263 cil_list_append(cp->classperms, curr->flavor, curr->data); in cil_resolve_classpermissionset()
458 cil_list_append(attr->expr_list, CIL_LIST, attrtypes->datum_expr); in cil_resolve_typeattributeset()
496 cil_list_append(expandattr->attr_datums, CIL_TYPE, attr_datum); in cil_resolve_expandtypeattribute()
817 cil_list_append(mp->classperms, curr->flavor, curr->data); in cil_resolve_classmapping()
1164 cil_list_append(attr->expr_list, CIL_LIST, attrroles->datum_expr); in cil_resolve_roleattributeset()
[all …]
Dcil_find.c229 cil_list_append(class_list, CIL_CLASS, cp->class); in __add_classes_from_classperms_list()
262 cil_list_append(class_list, CIL_CLASS, class); in cil_expand_class()
336 cil_list_append(matching, CIL_NODE, node); in cil_find_matching_avrule()
340 cil_list_append(matching, CIL_NODE, node); in cil_find_matching_avrule()
Dcil_copy_ast.c59 cil_list_append(new, CIL_STRING, orig_item->data); in cil_copy_list()
64 cil_list_append(new, CIL_LIST, new_sub); in cil_copy_list()
73 cil_list_append(new, CIL_PARAM, pn); in cil_copy_list()
78 cil_list_append(new, orig_item->flavor, orig_item->data); in cil_copy_list()
207 cil_list_append(*new, CIL_CLASSPERMS, cp); in cil_copy_classperms_list()
211 cil_list_append(*new, CIL_CLASSPERMS_SET, cp_set); in cil_copy_classperms_list()
1375 cil_list_append(*new, CIL_LIST, sub_list); in cil_copy_expr()
1379 cil_list_append(*new, CIL_STRING, curr->data); in cil_copy_expr()
1382 cil_list_append(*new, curr->flavor, curr->data); in cil_copy_expr()
1385 cil_list_append(*new, curr->flavor, curr->data); in cil_copy_expr()
[all …]
Dcil_list.c98 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_append() function
157 cil_list_append(list, flavor, data); in cil_list_insert()
Dcil_list.h55 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data);
Dcil_symtab.c95 cil_list_append(datum->nodes, CIL_NODE, node); in cil_symtab_insert()
97 cil_list_append(datum->nodes, CIL_NODE, node); in cil_symtab_insert()
Dcil_build_ast.c76 cil_list_append(*list, CIL_STRING, curr->data); in cil_fill_list()
671 cil_list_append(*cp_list, CIL_CLASSPERMS_SET, new_cp_set); in cil_fill_classperms_list()
679 cil_list_append(*cp_list, CIL_CLASSPERMS, new_cp); in cil_fill_classperms_list()
2533 cil_list_append(expr, CIL_OP, (void *)op); in __cil_fill_expr_helper()
2566 cil_list_append(expr, CIL_STRING, current->data); in __cil_fill_expr()
2575 cil_list_append(expr, CIL_LIST, sub_expr); in __cil_fill_expr()
2682 cil_list_append(*leaf_expr, CIL_OP, (void *)op); in __cil_fill_constraint_leaf_expr()
2684 cil_list_append(*leaf_expr, CIL_CONS_OPERAND, (void *)l_flavor); in __cil_fill_constraint_leaf_expr()
2687 cil_list_append(*leaf_expr, CIL_STRING, current->next->next->data); in __cil_fill_constraint_leaf_expr()
2691 cil_list_append(*leaf_expr, CIL_LIST, &sub_list); in __cil_fill_constraint_leaf_expr()
[all …]
Dcil_policy.c175 cil_list_append(lists[kind], node->flavor, node->data); in __cil_gather_statements_helper()
685 cil_list_append(classperms_strs, CIL_STRING, new); in cil_classperms_to_string()
867 cil_list_append(aliases, CIL_SENSALIAS, alias); in cil_sensitivities_to_policy()
922 cil_list_append(aliases, CIL_CATALIAS, alias); in cil_categories_to_policy()
1040 cil_list_append(aliases, CIL_TYPEALIAS, alias); in cil_typealiases_to_policy()
1602 cil_list_append(roles, CIL_ROLE, role); in cil_users_to_policy()
Dandroid.c798 cil_list_append(attrset->str_expr, CIL_STRING, orig_type); in cil_build_mappings_tree()
816cil_list_append(expandattr->attr_strs, CIL_STRING, __cil_attrib_get_versname(orig_type, verargs->n… in cil_build_mappings_tree()
Dcil_post.c472 cil_list_append(db->userprefixes, CIL_USERPREFIX, node->data); in __cil_post_db_array_helper()
480 cil_list_append(db->selinuxusers, CIL_SELINUXUSERDEFAULT, node->data); in __cil_post_db_array_helper()
861 cil_list_append(new, CIL_DATUM, cat); in __evaluate_cat_expression()
1733 cil_list_append(new_list, CIL_DATUM, d); in __perm_bits_to_list()
Dcil_write_ast.c248 cil_list_append(str_list, CIL_STRING, (void *) str); in cil_unfill_expr()
1005 cil_list_append(str_list, CIL_STRING, (void *) str); in cil_unfill_classperms_list()
Dcil_binary.c1647 cil_list_append(*xperms_list, CIL_NONE, partial); in __cil_permx_bitmap_to_sepol_xperms_list()
1662 cil_list_append(*xperms_list, CIL_NONE, partial); in __cil_permx_bitmap_to_sepol_xperms_list()
1666 cil_list_append(*xperms_list, CIL_NONE, complete); in __cil_permx_bitmap_to_sepol_xperms_list()
4717 cil_list_append(cp->perms, CIL_PERM, perm); in cil_classperms_from_sepol()
4721 cil_list_append(cp_list, CIL_CLASSPERMS, cp); in cil_classperms_from_sepol()