Searched refs:elffd (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/file/ |
H A D | elf_read.c | 191 EI->elffd = fd; 194 if (pread64(EI->elffd, (void*)ehdr, size, 0) != size) 258 if (pread64(EI->elffd, (void *)&EI_Phdr, size, off) != size) 291 if (pread64(EI->elffd, (void *)&EI_Shdr, size, off) != size) 341 if (pread64(EI->elffd, (void *)nhdr, nsz, offset) 360 if (pread64(EI->elffd, psinfo, dsz, offset) != dsz) 442 if (pread64(EI->elffd, strtab, shdr->sh_size, shdr->sh_offset) 474 if (pread64(EI->elffd, &Chdr, csize, cap_off)
|
H A D | elf_read.h | 39 int elffd; /* fd of file being processed */ member in struct:Elf_Info
|
H A D | file.c | 142 static int elffd = -1; variable 186 int elf_read32(int elffd, Elf_Info *EInfo); 187 int elf_read64(int elffd, Elf_Info *EInfo); 525 elffd = open64(file, O_RDONLY); 526 if (elffd < 0) { 698 ar_coff_or_aout(elffd); 923 ar_coff_or_aout(int elffd) argument 932 elf = elf_begin(elffd, ELF_C_READ, (Elf *)0); 1199 if (check_ident(ident, elffd) == ELF_READ_FAIL) 1208 if (elf_read32(elffd, [all...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | main.c | 870 int elffd = get_executable(filename); local 876 if (elffd < 0) 879 (void) close(elffd); 882 elf = elf_begin(elffd, ELF_C_READ, (Elf *) 0); 887 close(elffd); 895 close(elffd);
|
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 830 int elffd = -1; local 874 if ((elffd = open64(arg, O_RDONLY)) < 0 || 875 (pread64(elffd, ident, EI_NIDENT, 0) != EI_NIDENT)) { 901 if (elffd >= 0) { 902 (void) close(elffd); 903 elffd = -1;
|
Completed in 390 milliseconds