Home
last modified time | relevance | path

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

/fs/proc/
Dvmcore.c1191 Elf64_Ehdr ehdr; in parse_crash_elf64_headers() local
1197 rc = elfcorehdr_read((char *)&ehdr, sizeof(Elf64_Ehdr), &addr); in parse_crash_elf64_headers()
1202 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers()
1203 (ehdr.e_type != ET_CORE) || in parse_crash_elf64_headers()
1204 !vmcore_elf64_check_arch(&ehdr) || in parse_crash_elf64_headers()
1205 ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in parse_crash_elf64_headers()
1206 ehdr.e_ident[EI_VERSION] != EV_CURRENT || in parse_crash_elf64_headers()
1207 ehdr.e_version != EV_CURRENT || in parse_crash_elf64_headers()
1208 ehdr.e_ehsize != sizeof(Elf64_Ehdr) || in parse_crash_elf64_headers()
1209 ehdr.e_phentsize != sizeof(Elf64_Phdr) || in parse_crash_elf64_headers()
[all …]
Dkcore.c334 struct elfhdr ehdr = { in read_kcore() local
356 if (copy_to_user(buffer, (char *)&ehdr + *fpos, tsz)) { in read_kcore()
/fs/
Dbinfmt_elf.c494 static inline int arch_elf_pt_proc(struct elfhdr *ehdr, in arch_elf_pt_proc() argument
518 static inline int arch_check_elf(struct elfhdr *ehdr, bool has_interp, in arch_check_elf() argument