/external/selinux/libsepol/cil/src/ |
cil_find.h | 30 #include "cil_flavor.h" 37 int cil_find_matching_avrule_in_ast(struct cil_tree_node *current, enum cil_flavor flavor, void *target, struct cil_list *matching, int match_self);
|
cil_verify.h | 36 #include "cil_flavor.h" 61 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_flavor); 62 int cil_verify_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum cil_flavor op, enum cil_flavor expr_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);
|
cil_list.h | 33 #include "cil_flavor.h" 38 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_data); 58 struct cil_list_item *cil_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *data);
|
cil_stack.h | 40 enum cil_flavor flavor; 56 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data);
|
cil_tree.h | 35 #include "cil_flavor.h" 47 enum cil_flavor flavor;
|
cil_build_ast.h | 36 #include "cil_flavor.h" 40 int cil_gen_node(struct cil_db *db, struct cil_tree_node *ast_node, struct 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 flavor); 55 int cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms); 57 int cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms); 127 int cil_gen_constrain_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **stack); 128 int cil_gen_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **stack); 133 int cil_gen_condblock(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor); 135 int cil_gen_alias(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor); 137 int cil_gen_aliasactual(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor) [all...] |
cil_list.c | 34 #include "cil_flavor.h" 47 void cil_list_init(struct cil_list **list, enum cil_flavor flavor) 98 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data) 120 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data) 142 struct cil_list_item *cil_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *data) 224 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_data)
|
cil_stack.c | 70 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data)
|
cil_find.c | 33 #include "cil_flavor.h" 39 enum cil_flavor flavor; 47 enum cil_flavor f1 = ((struct cil_tree_node*)d1->nodes->head->data)->flavor; 48 enum cil_flavor f2 = ((struct cil_tree_node*)d2->nodes->head->data)->flavor; 80 enum cil_flavor f1 = ((struct cil_tree_node*)d1->nodes->head->data)->flavor; 81 enum cil_flavor f2 = ((struct cil_tree_node*)d2->nodes->head->data)->flavor; 370 int cil_find_matching_avrule_in_ast(struct cil_tree_node *current, enum cil_flavor flavor, void *target, struct cil_list *matching, int match_self)
|
cil_flavor.h | 39 enum cil_flavor { enum
|
cil_internal.h | 43 #include "cil_flavor.h" 315 enum cil_flavor flavor; 827 enum cil_flavor flavor; 840 enum cil_flavor flavor; 855 enum cil_flavor flavor; 887 enum cil_flavor flavor; 924 void cil_destroy_data(void **data, enum cil_flavor flavor); 926 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *index);
|
cil_resolve_ast.h | 93 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_expr, struct cil_tree_node *parent, void *extra_args);
|
cil_verify.c | 41 #include "cil_flavor.h" 147 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_flavor) 211 int cil_verify_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum cil_flavor op, enum cil_flavor expr_flavor) 269 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op) 407 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor) [all...] |
cil_binary.c | 44 #include "cil_flavor.h" 77 enum cil_flavor cond_flavor; 925 int __cil_cond_insert_rule(avtab_t *avtab, avtab_key_t *avtab_key, avtab_datum_t *avtab_datum, cond_node_t *cond_node, enum cil_flavor cond_flavor) 976 int __cil_insert_type_rule(policydb_t *pdb, uint32_t kind, uint32_t src, uint32_t tgt, uint32_t obj, uint32_t res, cond_node_t *cond_node, enum cil_flavor cond_flavor) 1055 int __cil_type_rule_to_avtab(policydb_t *pdb, const struct cil_db *db, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor cond_flavor) 1116 int __cil_typetransition_to_avtab(policydb_t *pdb, const struct cil_db *db, struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enum cil_flavor cond_flavor, hashtab_t filename_trans_table) [all...] |
cil_build_ast.c | 38 #include "cil_flavor.h" 58 int cil_fill_list(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **list) 85 int cil_gen_node(__attribute__((unused)) struct cil_db *db, struct cil_tree_node *ast_node, struct cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor) 478 int cil_gen_perm(__attribute__((unused)) struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) 516 int cil_gen_perm_nodes(__attribute__((unused)) struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) [all...] |
cil_policy.c | 41 #include "cil_flavor.h" 471 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); 533 void cil_constrain_to_policy(FILE **file_arr, __attribute__((unused)) uint32_t file_index, struct cil_constrain *cons, enum cil_flavor flavor) 674 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); 743 enum cil_flavor operand_flavor = *((enum cil_flavor *)curr->data); [all...] |
cil_post.c | 40 #include "cil_flavor.h" 53 static int cil_verify_is_list(struct cil_list *list, enum cil_flavor flavor) 999 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_t *bitmap, int max, struct cil_db *db) 1043 enum cil_flavor flavor; 1054 enum cil_flavor op = (enum cil_flavor)curr->data; [all...] |
cil_tree.c | 37 #include "cil_flavor.h" 279 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); 351 enum cil_flavor operand_flavor = *((enum cil_flavor *)curr->data); [all...] |
cil_resolve_ast.c | 37 #include "cil_flavor.h" 451 int cil_resolve_aliasactual(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor) 490 int cil_resolve_alias_to_actual(struct cil_tree_node *current, enum cil_flavor flavor) [all...] |
cil.c | 37 #include "cil_flavor.h" 460 void cil_destroy_data(void **data, enum cil_flavor flavor) 770 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *sym_index) [all...] |