Searched refs:elf_ex (Results 1 – 1 of 1) sorted by relevance
508 struct elfhdr elf_ex; in is_target_elf_binary() local517 elf_ex = *((struct elfhdr *)buf); in is_target_elf_binary()518 bswap_ehdr(&elf_ex); in is_target_elf_binary()520 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || in is_target_elf_binary()521 (!elf_check_arch(elf_ex.e_machine))) { in is_target_elf_binary()603 struct elfhdr elf_ex; in load_elf_binary() local617 elf_ex = *((struct elfhdr *) bprm->buf); /* exec-header */ in load_elf_binary()618 bswap_ehdr(&elf_ex); in load_elf_binary()621 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || in load_elf_binary()622 (!elf_check_arch(elf_ex.e_machine))) { in load_elf_binary()[all …]