Searched refs:symtab (Results 1 – 10 of 10) sorted by relevance
/xen-4.10.0-shim-comet/xen/xsm/flask/ss/ |
A D | policydb.h | 50 struct symtab permissions; /* common permissions */ 58 struct symtab permissions; /* class-specific permission symbol table */ 190 struct symtab symtab[SYM_NUM]; member 191 #define p_commons symtab[SYM_COMMONS] 192 #define p_classes symtab[SYM_CLASSES] 193 #define p_roles symtab[SYM_ROLES] 194 #define p_types symtab[SYM_TYPES] 195 #define p_users symtab[SYM_USERS] 196 #define p_bools symtab[SYM_BOOLS] 197 #define p_levels symtab[SYM_LEVELS] [all …]
|
A D | symtab.h | 14 struct symtab { struct 19 int symtab_init(struct symtab *s, unsigned int size); argument
|
A D | Makefile | 3 obj-y += symtab.o
|
A D | symtab.c | 39 int symtab_init(struct symtab *s, unsigned int size) in symtab_init()
|
A D | policydb.c | 218 rc = symtab_init(&p->symtab[i], symtab_sizes[i]); in policydb_init() 246 hashtab_destroy(p->symtab[i].table); in policydb_init() 413 static void symtab_hash_eval(struct symtab *s) in symtab_hash_eval() 452 symtab_hash_eval(p->symtab); in policydb_index_others() 488 xmalloc_array(char *, p->symtab[i].nprim); in policydb_index_others() 494 rc = hashtab_map(p->symtab[i].table, index_f[i], p); in policydb_index_others() 660 hashtab_map(p->symtab[i].table, destroy_f[i], NULL); in policydb_destroy() 661 hashtab_destroy(p->symtab[i].table); in policydb_destroy() 1883 rc = read_f[i](p, p->symtab[i].table, fp); in policydb_read() 1888 p->symtab[i].nprim = nprim; in policydb_read()
|
A D | services.c | 1178 struct symtab *perms; in validate_classes()
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | livepatch.c | 185 return data->symtab[i].value; in livepatch_symbols_lookup_by_name() 219 data->symtab[best].value < data->symtab[i].value) ) in livepatch_symbols_lookup() 233 n = data->symtab[best].name; in livepatch_symbols_lookup() 760 struct livepatch_symbol *symtab; in build_symbol_table() local 778 if ( !strtab || !symtab ) in build_symbol_table() 781 xfree(symtab); in build_symbol_table() 821 xfree(symtab); in build_symbol_table() 825 symtab[i].new_symbol = 1; in build_symbol_table() 837 payload->symtab = symtab; in build_symbol_table() 851 xfree((void *)data->symtab); in free_payload() [all …]
|
A D | livepatch_elf.c | 113 if ( elf->symtab ) in elf_resolve_sections() 120 elf->symtab = &sec[i]; in elf_resolve_sections() 127 if ( elf->symtab->sec->sh_link >= elf->hdr->e_shnum ) in elf_resolve_sections() 131 elf->name, elf->symtab->sec->sh_link, in elf_resolve_sections() 138 if ( !elf->symtab ) in elf_resolve_sections() 145 if ( !elf->symtab->sec->sh_size || in elf_resolve_sections() 146 elf->symtab->sec->sh_entsize < sizeof(Elf_Sym) || in elf_resolve_sections() 147 elf->symtab->sec->sh_size % elf->symtab->sec->sh_entsize ) in elf_resolve_sections() 158 elf->strtab = &sec[elf->symtab->sec->sh_link]; in elf_resolve_sections() 225 symtab_sec = elf->symtab; in elf_get_sym()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | livepatch_elf.h | 34 const struct livepatch_elf_sec *symtab;/* Pointer to .symtab section - aka to member
|
/xen-4.10.0-shim-comet/tools/xentrace/ |
A D | xenctx.c | 222 static void read_symbol_table(const char *symtab) in read_symbol_table() argument 230 f = fopen(symtab, "r"); in read_symbol_table() 232 fprintf(stderr, "failed to open symbol table %s\n", symtab); in read_symbol_table()
|
Completed in 24 milliseconds