Home
last modified time | relevance | path

Searched refs:cil_flavor (Results 1 – 18 of 18) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_verify.h61 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_…
62 …y_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum cil_flavor
63 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op);
67 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor);
Dcil_list.h38 enum cil_flavor flavor;
43 enum cil_flavor flavor;
51 void cil_list_init(struct cil_list **list, enum cil_flavor flavor);
55 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data);
56 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data);
57 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_da…
58 …il_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *da…
Dcil_build_ast.h40 …t cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor);
41 int cil_parse_to_list(struct cil_tree_node *parse_cl_head, struct cil_list *ast_cl, enum cil_flavor
55 …uct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned…
57 …ruct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned…
120 int cil_gen_constrain_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *…
121 int cil_gen_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **stack);
126 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
128 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
130 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
160 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
[all …]
Dcil_list.c47 void cil_list_init(struct cil_list **list, enum cil_flavor flavor) in cil_list_init()
98 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_append()
120 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_prepend()
142 …il_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *da… in cil_list_insert()
224 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_da… in cil_list_remove()
Dcil_stack.h40 enum cil_flavor flavor;
56 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data);
Dcil_internal.h301 enum cil_flavor flavor;
783 enum cil_flavor flavor;
796 enum cil_flavor flavor;
811 enum cil_flavor flavor;
843 enum cil_flavor flavor;
880 void cil_destroy_data(void **data, enum cil_flavor flavor);
882 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *index);
Dcil_binary.c70 enum cil_flavor cond_flavor;
951 …_key_t *avtab_key, avtab_datum_t *avtab_datum, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_cond_insert_rule()
1002 …src, uint32_t tgt, uint32_t obj, uint32_t res, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_type_rule()
1081 …ct cil_db *db, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_type_rule_to_avtab()
1142 …struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enum cil_flavor cond_flavor, has… in __cil_typetransition_to_avtab()
1280 …rc, uint32_t tgt, uint32_t obj, uint32_t data, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_avrule()
1342 static int __cil_is_type_match(enum cil_flavor f1, struct cil_symtab_datum *t1, enum cil_flavor f2,… in __cil_is_type_match()
1384 enum cil_flavor al_src_flavor = ((struct cil_tree_node*)src->nodes->head->data)->flavor; in __cil_check_neverallows()
1385 enum cil_flavor al_tgt_flavor = ((struct cil_tree_node*)tgt->nodes->head->data)->flavor; in __cil_check_neverallows()
1392 …enum cil_flavor nv_src_flavor = ((struct cil_tree_node*)curr_rule->src->nodes->head->data)->flavor; in __cil_check_neverallows()
[all …]
Dcil_tree.h47 enum cil_flavor flavor;
Dcil_verify.c146 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_… in cil_verify_expr_syntax()
210 …y_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum cil_flavor in cil_verify_constraint_leaf_expr_syntax()
268 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op) in cil_verify_constraint_expr_syntax()
406 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor) in __cil_verify_ordered()
Dcil_stack.c70 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data) in cil_stack_push()
Dcil_flavor.h39 enum cil_flavor { enum
Dcil_build_ast.c58 int cil_fill_list(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **list) in cil_fill_list()
85 …ct cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor) in cil_gen_node()
455 …uct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… in cil_gen_perm()
493 …ruct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… in cil_gen_perm_nodes()
2211 static enum cil_flavor __cil_get_expr_operator_flavor(const char *op) in __cil_get_expr_operator_flavor()
2225 static int __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *…
2227 static int __cil_fill_expr_helper(struct cil_tree_node *current, enum cil_flavor flavor, struct cil… in __cil_fill_expr_helper()
2230 enum cil_flavor op; in __cil_fill_expr_helper()
2268 static int __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *… in __cil_fill_expr()
2273 enum cil_flavor op = __cil_get_expr_operator_flavor(current->data); in __cil_fill_expr()
[all …]
Dcil_policy.c471 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_perms_to_policy()
533 …r, __attribute__((unused)) uint32_t file_index, struct cil_constrain *cons, enum cil_flavor flavor) in cil_constrain_to_policy()
674 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
743 enum cil_flavor operand_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
Dcil_post.c53 static int cil_verify_is_list(struct cil_list *list, enum cil_flavor flavor) in cil_verify_is_list()
821 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_… in __cil_expr_to_bitmap_helper()
858 enum cil_flavor flavor; in __cil_expr_to_bitmap()
869 enum cil_flavor op = (enum cil_flavor)curr->data; in __cil_expr_to_bitmap()
1360 enum cil_flavor flavor;
1382 static int __evaluate_perm_expression(struct cil_list *perms, enum cil_flavor flavor, symtab_t *cla… in __evaluate_perm_expression()
Dcil_resolve_ast.h92 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_…
Dcil_tree.c279 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
351 enum cil_flavor operand_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
Dcil_resolve_ast.c416 int cil_resolve_aliasactual(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor) in cil_resolve_aliasactual()
455 int cil_resolve_alias_to_actual(struct cil_tree_node *current, enum cil_flavor flavor) in cil_resolve_alias_to_actual()
2251 int cil_resolve_bounds(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor) in cil_resolve_bounds()
2433 enum cil_flavor flavor = ((struct cil_param*)item->data)->flavor; in cil_resolve_call1()
2778 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_… in cil_resolve_expr()
2886 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_evaluate_tunable_expr()
Dcil.c447 void cil_destroy_data(void **data, enum cil_flavor flavor) in cil_destroy_data()
747 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *sym_index) in cil_flavor_to_symtab_index()