Searched refs:elf_ppnt (Results 1 – 1 of 1) sorted by relevance
667 struct elf_phdr *elf_ppnt, *elf_phdata, *interp_elf_phdata = NULL; in load_elf_binary() local708 elf_ppnt = elf_phdata; in load_elf_binary()718 if (elf_ppnt->p_type == PT_INTERP) { in load_elf_binary()724 if (elf_ppnt->p_filesz > PATH_MAX || in load_elf_binary()725 elf_ppnt->p_filesz < 2) in load_elf_binary()729 elf_interpreter = kmalloc(elf_ppnt->p_filesz, in load_elf_binary()734 retval = kernel_read(bprm->file, elf_ppnt->p_offset, in load_elf_binary()736 elf_ppnt->p_filesz); in load_elf_binary()737 if (retval != elf_ppnt->p_filesz) { in load_elf_binary()744 if (elf_interpreter[elf_ppnt->p_filesz - 1] != '\0') in load_elf_binary()[all …]