Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kernel/
Dkexec_elf_64.c128 size_t shdr_size; in elf_is_ehdr_sane() local
134 shdr_size = sizeof(struct elf_shdr) * ehdr->e_shnum; in elf_is_ehdr_sane()
137 if (ehdr->e_shoff + shdr_size < ehdr->e_shoff) { in elf_is_ehdr_sane()
140 } else if (ehdr->e_shoff + shdr_size > buf_len) { in elf_is_ehdr_sane()
382 size_t shdr_size, i; in elf_read_shdrs() local
388 shdr_size = sizeof(struct elf_shdr) * elf_info->ehdr->e_shnum; in elf_read_shdrs()
390 elf_info->sechdrs = kzalloc(shdr_size, GFP_KERNEL); in elf_read_shdrs()