Searched refs:elf_ppnt (Results 1 – 1 of 1) sorted by relevance
577 struct elf_phdr *elf_ppnt, *elf_phdata; in load_elf_binary() local640 elf_ppnt = elf_phdata; in load_elf_binary()650 if (elf_ppnt->p_type == PT_INTERP) { in load_elf_binary()656 if (elf_ppnt->p_filesz > PATH_MAX || in load_elf_binary()657 elf_ppnt->p_filesz < 2) in load_elf_binary()661 elf_interpreter = kmalloc(elf_ppnt->p_filesz, in load_elf_binary()666 retval = kernel_read(bprm->file, elf_ppnt->p_offset, in load_elf_binary()668 elf_ppnt->p_filesz); in load_elf_binary()669 if (retval != elf_ppnt->p_filesz) { in load_elf_binary()676 if (elf_interpreter[elf_ppnt->p_filesz - 1] != '\0') in load_elf_binary()[all …]