Home
last modified time | relevance | path

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

/fs/
Dbinfmt_elf_fdpic.c1290 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header() argument
1292 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_fdpic_header()
1293 elf->e_ident[EI_CLASS] = ELF_CLASS; in fill_elf_fdpic_header()
1294 elf->e_ident[EI_DATA] = ELF_DATA; in fill_elf_fdpic_header()
1295 elf->e_ident[EI_VERSION] = EV_CURRENT; in fill_elf_fdpic_header()
1296 elf->e_ident[EI_OSABI] = ELF_OSABI; in fill_elf_fdpic_header()
1297 memset(elf->e_ident+EI_PAD, 0, EI_NIDENT-EI_PAD); in fill_elf_fdpic_header()
1299 elf->e_type = ET_CORE; in fill_elf_fdpic_header()
1300 elf->e_machine = ELF_ARCH; in fill_elf_fdpic_header()
1301 elf->e_version = EV_CURRENT; in fill_elf_fdpic_header()
[all …]
Dbinfmt_elf.c496 struct file *elf, bool is_interp, in arch_elf_pt_proc() argument
1426 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header() argument
1429 memset(elf, 0, sizeof(*elf)); in fill_elf_header()
1431 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fill_elf_header()
1432 elf->e_ident[EI_CLASS] = ELF_CLASS; in fill_elf_header()
1433 elf->e_ident[EI_DATA] = ELF_DATA; in fill_elf_header()
1434 elf->e_ident[EI_VERSION] = EV_CURRENT; in fill_elf_header()
1435 elf->e_ident[EI_OSABI] = ELF_OSABI; in fill_elf_header()
1437 elf->e_type = ET_CORE; in fill_elf_header()
1438 elf->e_machine = machine; in fill_elf_header()
[all …]