Home
last modified time | relevance | path

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

/openbmc/qemu/bsd-user/
H A Delfload.c545 int elf_prot = 0; in load_elf_sections() local
554 elf_prot |= PROT_READ; in load_elf_sections()
557 elf_prot |= PROT_WRITE; in load_elf_sections()
560 elf_prot |= PROT_EXEC; in load_elf_sections()
566 elf_prot, in load_elf_sections()
/openbmc/linux/fs/
H A Dbinfmt_elf.c626 int elf_prot = make_prot(eppnt->p_flags, arch_state, in load_elf_interp() local
638 eppnt, elf_prot, elf_type, total_size); in load_elf_interp()
679 bss_prot = elf_prot; in load_elf_interp()
1036 int elf_prot, elf_flags; in load_elf_binary() local
1071 elf_prot = make_prot(elf_ppnt->p_flags, &arch_state, in load_elf_binary()
1167 elf_prot, elf_flags, total_size); in load_elf_binary()
1222 bss_prot = elf_prot; in load_elf_binary()
/openbmc/qemu/linux-user/
H A Delfload.c3422 int elf_prot = 0; in load_elf_image() local
3425 elf_prot |= PROT_READ; in load_elf_image()
3428 elf_prot |= PROT_WRITE; in load_elf_image()
3431 elf_prot |= prot_exec; in load_elf_image()
3447 elf_prot, MAP_PRIVATE | MAP_FIXED, in load_elf_image()
3456 !zero_bss(vaddr_ef, vaddr_em, elf_prot, &err)) { in load_elf_image()
3461 if (elf_prot & PROT_EXEC) { in load_elf_image()
3469 if (elf_prot & PROT_WRITE) { in load_elf_image()