Home
last modified time | relevance | path

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

/fs/
Dbinfmt_elf.c389 static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex, in load_elf_interp() argument
403 if (interp_elf_ex->e_type != ET_EXEC && in load_elf_interp()
404 interp_elf_ex->e_type != ET_DYN) in load_elf_interp()
406 if (!elf_check_arch(interp_elf_ex)) in load_elf_interp()
415 if (interp_elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_interp()
417 if (interp_elf_ex->e_phnum < 1 || in load_elf_interp()
418 interp_elf_ex->e_phnum > 65536U / sizeof(struct elf_phdr)) in load_elf_interp()
422 size = sizeof(struct elf_phdr) * interp_elf_ex->e_phnum; in load_elf_interp()
429 retval = kernel_read(interpreter, interp_elf_ex->e_phoff, in load_elf_interp()
438 total_size = total_mapping_size(elf_phdata, interp_elf_ex->e_phnum); in load_elf_interp()
[all …]