Searched refs:elf_fd (Results 1 – 1 of 1) sorted by relevance
377 static unsigned long map_elf(int elf_fd, const Elf32_Ehdr *ehdr) in map_elf() argument399 if (lseek(elf_fd, ehdr->e_phoff, SEEK_SET) < 0) in map_elf()401 if (read(elf_fd, phdr, sizeof(phdr)) != sizeof(phdr)) in map_elf()417 map_at(elf_fd, from_guest_phys(phdr[i].p_paddr), in map_elf()