HomeSort by relevance Sort by last modified time
    Searched full:cil_tree_node (Results 1 - 25 of 32) sorted by null

1 2

  /external/selinux/libsepol/cil/src/
cil_build_ast.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);
43 int cil_gen_block(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, uint16_t is_abstract);
45 int cil_gen_blockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node);
47 int cil_gen_blockabstract(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node);
49 int cil_gen_in(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node)
    [all...]
cil_reset_ast.h 6 int cil_reset_ast(struct cil_tree_node *current);
cil_resolve_ast.h 38 int cil_resolve_classorder(struct cil_tree_node *current, void *extra_args);
39 int cil_resolve_classperms(struct cil_tree_node *current, struct cil_classperms *cp, void *extra_args);
40 int cil_resolve_classpermissionset(struct cil_tree_node *current, struct cil_classpermissionset *cps, void *extra_args);
41 int cil_resolve_classperms_list(struct cil_tree_node *current, struct cil_list *cp_list, void *extra_args);
42 int cil_resolve_avrule(struct cil_tree_node *current, void *extra_args);
43 int cil_resolve_type_rule(struct cil_tree_node *current, void *extra_args);
44 int cil_resolve_typeattributeset(struct cil_tree_node *current, void *extra_args);
45 int cil_resolve_typealias(struct cil_tree_node *current, void *extra_args);
46 int cil_resolve_typebounds(struct cil_tree_node *current, void *extra_args);
47 int cil_resolve_typepermissive(struct cil_tree_node *current, void *extra_args)
    [all...]
cil_tree.h 39 struct cil_tree_node *root;
42 struct cil_tree_node { struct
43 struct cil_tree_node *parent;
44 struct cil_tree_node *cl_head; //Head of child_list
45 struct cil_tree_node *cl_tail; //Tail of child_list
46 struct cil_tree_node *next; //Each element in the list points to the next element
55 void cil_tree_subtree_destroy(struct cil_tree_node *node);
56 void cil_tree_children_destroy(struct cil_tree_node *node);
58 void cil_tree_node_init(struct cil_tree_node **node);
59 void cil_tree_node_destroy(struct cil_tree_node **node)
    [all...]
cil_verify.h 60 int __cil_verify_syntax(struct cil_tree_node *parse_current, enum cil_syntax s[], int len);
61 int cil_verify_expr_syntax(struct cil_tree_node *current, 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);
66 int __cil_verify_ordered_node_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args);
67 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor);
70 int __cil_verify_helper(struct cil_tree_node *node, __attribute__((unused)) uint32_t *finished, void *extra_args);
cil_build_ast.c 50 struct cil_tree_node *ast;
52 struct cil_tree_node *macro;
53 struct cil_tree_node *boolif;
54 struct cil_tree_node *tunif;
55 struct cil_tree_node *in;
58 int cil_fill_list(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **list)
61 struct cil_tree_node *curr;
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)
110 struct cil_tree_node *node = datum->nodes->head->data;
143 void cil_clear_node(struct cil_tree_node *ast_node
    [all...]
cil_resolve_ast.c 54 struct cil_tree_node *callstack;
55 struct cil_tree_node *optstack;
56 struct cil_tree_node *boolif;
57 struct cil_tree_node *macro;
65 static struct cil_name * __cil_insert_name(struct cil_db *db, hashtab_key_t key, struct cil_tree_node *ast_node)
70 struct cil_tree_node *parent = ast_node->parent;
147 int cil_resolve_classperms(struct cil_tree_node *current, struct cil_classperms *cp, void *extra_args)
178 int cil_resolve_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, void *extra_args)
203 int cil_resolve_classperms_list(struct cil_tree_node *current, struct cil_list *cp_list, void *extra_args)
228 int cil_resolve_classpermissionset(struct cil_tree_node *current, struct cil_classpermissionset *cps, void *extra_args
    [all...]
cil_symtab.h 46 #define NODE(n) ((struct cil_tree_node *)(DATUM(n)->nodes->head->data))
76 void cil_symtab_datum_remove_node(struct cil_symtab_datum *datum, struct cil_tree_node *node);
77 int cil_symtab_insert(symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct cil_tree_node *node);
cil_verify.c 80 int __cil_verify_syntax(struct cil_tree_node *parse_current, enum cil_syntax s[], int len)
84 struct cil_tree_node *c = parse_current;
146 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_flavor)
268 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op)
370 int __cil_verify_ordered_node_helper(struct cil_tree_node *node, __attribute__((unused)) uint32_t *finished, void *extra_args)
406 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor)
431 struct cil_tree_node *node = sid->datum.nodes->head->data;
588 int __cil_verify_named_levelrange(struct cil_db *db, struct cil_tree_node *node)
604 int __cil_verify_user(struct cil_db *db, struct cil_tree_node *node)
652 int __cil_verify_role(struct cil_tree_node *node
    [all...]
cil_fqn.c 42 struct cil_tree_node *node;
77 struct cil_tree_node *node = NODE(datum);
129 int cil_fqn_qualify(struct cil_tree_node *root_node)
cil_parser.c 49 struct cil_tree_node *node = NULL;
50 struct cil_tree_node *item = NULL;
51 struct cil_tree_node *current = NULL;
cil_fqn.h 36 int cil_fqn_qualify(struct cil_tree_node *root_node);
cil_tree.c 44 void cil_tree_print_perms_list(struct cil_tree_node *current_perm);
49 void cil_tree_print_expr_tree(struct cil_tree_node *expr_root);
51 void cil_tree_print_node(struct cil_tree_node *node);
84 void cil_tree_subtree_destroy(struct cil_tree_node *node)
90 void cil_tree_children_destroy(struct cil_tree_node *node)
92 struct cil_tree_node *start_node = node;
93 struct cil_tree_node *next = NULL;
122 void cil_tree_node_init(struct cil_tree_node **node)
124 struct cil_tree_node *new_node = cil_malloc(sizeof(*new_node));
137 void cil_tree_node_destroy(struct cil_tree_node **node
    [all...]
cil_policy.h 44 int cil_name_to_policy(FILE **, struct cil_tree_node *);
cil_post.c 68 struct cil_tree_node *n = d->nodes->head->data;
327 static int __cil_post_db_count_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args)
404 static int __cil_post_db_array_helper(struct cil_tree_node *node, __attribute__((unused)) uint32_t *finished, void *extra_args)
593 struct cil_tree_node *node = datum->nodes->head->data;
645 struct cil_tree_node *node = datum->nodes->head->data;
739 struct cil_tree_node *node = datum->nodes->head->data;
786 struct cil_tree_node *n1 = d1->nodes->head->data;
787 struct cil_tree_node *n2 = d2->nodes->head->data;
995 static int __cil_post_db_attr_helper(struct cil_tree_node *node, __attribute__((unused)) uint32_t *finished, void *extra_args)
1040 struct cil_tree_node *node = datum->nodes->head->data
    [all...]
cil_copy_ast.h 115 int cil_copy_ast(struct cil_db *db, struct cil_tree_node *orig, struct cil_tree_node *dest);
cil_symtab.c 76 void cil_symtab_datum_remove_node(struct cil_symtab_datum *datum, struct cil_tree_node *node)
88 int cil_symtab_insert(symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct cil_tree_node *node)
cil_policy.c 830 int __cil_booleanif_node_helper(struct cil_tree_node *node, __attribute__((unused)) uint32_t *finished, void *extra_args)
868 int __cil_booleanif_last_child_helper(struct cil_tree_node *node, void *extra_args)
885 int cil_booleanif_to_policy(FILE **file_arr, uint32_t file_index, struct cil_tree_node *node)
891 struct cil_tree_node *true_node = NULL;
892 struct cil_tree_node *false_node = NULL;
947 int cil_name_to_policy(FILE **file_arr, struct cil_tree_node *current)
1104 int __cil_gen_policy_node_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args)
    [all...]
cil_binary.c 76 struct cil_tree_node *node;
172 struct cil_tree_node *node = datum->nodes->head->data;
198 struct cil_tree_node *node = datum->nodes->head->data;
290 struct cil_tree_node *node = cil_common->datum.nodes->head->data;
291 struct cil_tree_node *cil_perm = node->cl_head;
342 struct cil_tree_node *node = cil_class->datum.nodes->head->data;
343 struct cil_tree_node *cil_perm = node->cl_head;
    [all...]
  /external/selinux/libsepol/cil/test/unit/
test_cil_build_ast.c 40 int __cil_build_ast_node_helper(struct cil_tree_node *, uint32_t *, void *);
41 int __cil_build_ast_last_child_helper(__attribute__((unused)) struct cil_tree_node *parse_current, void *);
42 //int __cil_build_constrain_tree(struct cil_tree_node *parse_current, struct cil_tree_node *expr_root);
45 struct cil_tree_node *ast;
47 struct cil_tree_node *macro;
48 struct cil_tree_node *tifstack;
51 struct cil_args_build *gen_build_args(struct cil_tree_node *node, struct cil_db *db, struct cil_tree_node * macro, struct cil_tree_node *tifstack
    [all...]
test_cil_list.c 54 struct cil_tree_node *test_ast_node;
82 struct cil_tree_node *test_ast_node;
118 struct cil_tree_node *test_ast_node;
160 struct cil_tree_node *test_ast_node;
187 struct cil_tree_node *test_ast_node;
211 struct cil_tree_node *test_ast_node;
239 struct cil_tree_node *test_ast_node;
268 struct cil_tree_node *test_ast_node;
302 struct cil_tree_node *test_ast_node;
329 struct cil_tree_node *test_ast_node
    [all...]
test_cil_copy_ast.c 40 int __cil_copy_node_helper(struct cil_tree_node *orig, uint32_t *finished, void *extra_args);
43 struct cil_tree_node *dest;
47 struct cil_args_copy *gen_copy_args(struct cil_tree_node *node, struct cil_db *db)
150 struct cil_tree_node *test_ast_node;
161 struct cil_tree_node *test_copy;
177 struct cil_tree_node *test_ast_node;
186 struct cil_tree_node *new_tree_node;
194 struct cil_tree_node *test_copy;
218 struct cil_tree_node *test_ast_node;
229 struct cil_tree_node *test_copy
    [all...]
test_cil.c 63 struct cil_tree_node *test_ast_node;
81 struct cil_tree_node *test_ast_node;
99 struct cil_tree_node *test_ast_node;
117 struct cil_tree_node *test_ast_node;
135 struct cil_tree_node *test_ast_node;
152 struct cil_tree_node *test_ast_node = NULL;
166 struct cil_tree_node *test_ast_node;
test_cil_symtab.c 44 struct cil_tree_node *test_ast_node;
test_cil_tree.c 38 struct cil_tree_node *test_node;

Completed in 167 milliseconds

1 2