Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_copy_ast.h40 int cil_copy_block(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
41 int cil_copy_blockabstract(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
42 int cil_copy_blockinherit(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
43 int cil_copy_perm(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
44 int cil_copy_class(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
45 int cil_copy_classorder(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
46 int cil_copy_classmapping(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
47 int cil_copy_permset(struct cil_db *db, void *data, void **copy, symtab_t *symtab);
52 …sspermission(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab);
53 …_((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab);
[all …]
Dcil_copy_ast.c86 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_node()
98 int cil_copy_block(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *sy… in cil_copy_block()
116 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_blockabstract()
130 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_blockinherit()
145 int cil_copy_policycap(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t in cil_copy_policycap()
163 int cil_copy_perm(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *sym… in cil_copy_perm()
216 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_classmapping()
233 int cil_copy_class(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *sy… in cil_copy_class()
255 …e__((unused)) struct cil_db *db, void *data, void **copy, __attribute__((unused)) symtab_t *symtab) in cil_copy_classorder()
270 …asspermission(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *symtab) in cil_copy_classpermission()
[all …]
Dcil_symtab.h42 symtab_t *symtab;
73 void cil_symtab_init(symtab_t *symtab, unsigned int size);
77 int cil_symtab_insert(symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct c…
79 int cil_symtab_get_datum(symtab_t *symtab, char *key, struct cil_symtab_datum **datum);
80 int cil_symtab_map(symtab_t *symtab,
83 void cil_symtab_destroy(symtab_t *symtab);
Dcil_symtab.c54 void cil_symtab_init(symtab_t *symtab, unsigned int size) in cil_symtab_init()
88 int cil_symtab_insert(symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct c… in cil_symtab_insert()
107 symtab_t *symtab = datum->symtab; in cil_symtab_remove_datum()
117 int cil_symtab_get_datum(symtab_t *symtab, char *key, struct cil_symtab_datum **datum) in cil_symtab_get_datum()
127 int cil_symtab_map(symtab_t *symtab, in cil_symtab_map()
141 void cil_symtab_destroy(symtab_t *symtab) in cil_symtab_destroy()
Dcil_internal.h311 symtab_t symtab[CIL_SYM_NUM];
323 symtab_t symtab[CIL_SYM_NUM];
338 symtab_t symtab[CIL_SYM_NUM];
355 symtab_t perms;
832 symtab_t symtab[CIL_SYM_NUM];
856 symtab_t symtab[CIL_SYM_NUM];
933 void cil_symtab_array_init(symtab_t symtab[], int symtab_sizes[CIL_SYM_NUM]);
934 void cil_symtab_array_destroy(symtab_t symtab[]);
936 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index);
Dcil_resolve_ast.c75 symtab_t *symtab; in __cil_insert_name()
109 static int __cil_resolve_perms(symtab_t *class_symtab, symtab_t *common_symtab, struct cil_list *pe… in __cil_resolve_perms()
153 symtab_t *common_symtab = NULL; in cil_resolve_classperms()
3933 symtab_t *symtab = &((struct cil_root *)db->ast->root->data)->symtab[sym_index]; in __cil_resolve_name_with_root()
3941 symtab_t *symtab = NULL; in __cil_resolve_name_with_parents()
4028 symtab_t *symtab = NULL; in cil_resolve_name()
Dcil_post.c1696 …_expression(struct cil_list *perms, enum cil_flavor flavor, symtab_t *class_symtab, symtab_t *comm… in __evaluate_perm_expression()
1737 symtab_t *common_symtab = NULL; in __evaluate_classperms()
Dcil.c1653 void cil_symtab_array_init(symtab_t symtab[], int symtab_sizes[CIL_SYM_NUM]) in cil_symtab_array_init()
1661 void cil_symtab_array_destroy(symtab_t symtab[]) in cil_symtab_array_destroy()
1702 int cil_get_symtab(struct cil_tree_node *ast_node, symtab_t **symtab, enum cil_sym_index sym_index) in cil_get_symtab()
Dcil_build_ast.c88 symtab_t *symtab = NULL; in cil_gen_node()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil.c61 symtab_t *symtab = NULL; in test_cil_get_symtab_block()
79 symtab_t *symtab = NULL; in test_cil_get_symtab_class()
97 symtab_t *symtab = NULL; in test_cil_get_symtab_root()
115 symtab_t *symtab = NULL; in test_cil_get_symtab_flavor_neg()
133 symtab_t *symtab = NULL; in test_cil_get_symtab_null_neg()
150 symtab_t *symtab = NULL; in test_cil_get_symtab_node_null_neg()
164 symtab_t *symtab = NULL; in test_cil_get_symtab_parent_null_neg()
Dtest_cil_copy_ast.c164 symtab_t sym; in test_cil_copy_block()
197 symtab_t sym; in test_cil_copy_perm()
232 symtab_t sym; in test_cil_copy_class()
259 symtab_t sym; in test_cil_copy_common()
295 symtab_t sym; in test_cil_copy_classcommon()
324 symtab_t sym; in test_cil_copy_sid()
351 symtab_t sym; in test_cil_copy_sidcontext()
380 symtab_t sym; in test_cil_copy_user()
407 symtab_t sym; in test_cil_copy_role()
434 symtab_t sym; in test_cil_copy_userrole()
[all …]
Dtest_cil_symtab.c40 symtab_t *test_symtab = NULL; in test_cil_symtab_insert()
/external/selinux/libsepol/include/sepol/policydb/
Dsymtab.h35 } symtab_t; typedef
37 extern int symtab_init(symtab_t *, unsigned int size);
38 extern void symtab_destroy(symtab_t *);
Dpolicydb.h105 symtab_t permissions; /* common permissions */
113 symtab_t permissions; /* class-specific permission symbol table */
449 symtab_t symtab[SYM_NUM];
503 symtab_t symtab[SYM_NUM];
536 symtab_t scope[SYM_NUM];
621 extern void symtabs_destroy(symtab_t * symtab);
/external/selinux/libsepol/src/
Dsymtab.c40 int symtab_init(symtab_t * s, unsigned int size) in symtab_init()
49 void symtab_destroy(symtab_t * s) in symtab_destroy()
Dlink.c1170 symtab_t *typetab; in type_fix_callback()
1220 symtab_t *usertab; in user_fix_callback()
1615 static int copy_identifiers(link_state_t * state, symtab_t * src_symtab, in copy_identifiers()
Dexpand.c192 symtab_t *s; in perm_copy_callback()
197 s = (symtab_t *) data; in perm_copy_callback()
Dpolicydb.c1408 void symtabs_destroy(symtab_t * symtab) in symtabs_destroy()