Home
last modified time | relevance | path

Searched refs:shstrsz (Results 1 – 3 of 3) sorted by relevance

/openbsd/sys/lib/libsa/
H A Dloadfile_elf.c206 size_t shstrsz = shp[elf->e_shstrndx].sh_size; in ELFNAME() local
207 char *shstr = ALLOC(shstrsz); in ELFNAME()
210 FREE(shstr, shstrsz); in ELFNAME()
214 if (read(fd, shstr, shstrsz) != shstrsz) { in ELFNAME()
216 FREE(shstr, shstrsz); in ELFNAME()
243 FREE(shstr, shstrsz); in ELFNAME()
250 FREE(shstr, shstrsz); in ELFNAME()
269 FREE(shstr, shstrsz); in ELFNAME()
/openbsd/sys/arch/sparc64/stand/ofwboot/
H A Delf64_exec.c200 size_t shstrsz = shp[elf->e_shstrndx].sh_size; in elf64_exec() local
201 char *shstr = alloc(shstrsz); in elf64_exec()
206 if (read(fd, shstr, shstrsz) != shstrsz) { in elf64_exec()
/openbsd/usr.sbin/vmd/
H A Dloadfile_elf.c797 size_t shstrsz = shp[elf->e_shstrndx].sh_size; in elf64_exec() local
798 char *shstr = malloc(shstrsz); in elf64_exec()
805 if ((size_t)gzread(fp, shstr, shstrsz) != shstrsz) { in elf64_exec()
1015 size_t shstrsz = shp[elf->e_shstrndx].sh_size; in elf32_exec() local
1016 char *shstr = malloc(shstrsz); in elf32_exec()
1023 if ((size_t)gzread(fp, shstr, shstrsz) != shstrsz) { in elf32_exec()