/netbsd-src/sys/compat/linux/common/ |
H A D | linux_exec.h | 123 void linux_setregs(struct lwp *, struct exec_package *, vaddr_t); 125 int exec_linux_aout_makecmds(struct lwp *, struct exec_package *); 126 int linux_aout_copyargs(struct lwp *, struct exec_package *, 133 void linux_e_proc_exec(struct proc *, struct exec_package *); 140 int linux_elf32_probe(struct lwp *, struct exec_package *, void *, 142 int linux_elf32_copyargs(struct lwp *, struct exec_package *, 144 int linux_elf32_signature(struct lwp *, struct exec_package *, 148 struct exec_package *, Elf32_Ehdr *); 152 struct exec_package *, Elf32_Ehdr *); 156 struct exec_package *, Elf32_Ehdr *); [all …]
|
H A D | linux_exec_aout.c | 67 int linux_aout_copyargs(struct lwp *, struct exec_package *, 71 struct exec_package *); 73 struct exec_package *); 75 struct exec_package *); 77 struct exec_package *); 80 linux_aout_copyargs(struct lwp *l, struct exec_package *pack, in linux_aout_copyargs() 132 exec_linux_aout_makecmds(struct lwp *l, struct exec_package *epp) in exec_linux_aout_makecmds() 171 exec_linux_aout_prep_zmagic(struct lwp *l, struct exec_package *epp) in exec_linux_aout_prep_zmagic() 206 exec_linux_aout_prep_nmagic(struct lwp *l, struct exec_package *epp) in exec_linux_aout_prep_nmagic() 243 exec_linux_aout_prep_omagic(struct lwp *l, struct exec_package *epp) in exec_linux_aout_prep_omagic() [all …]
|
/netbsd-src/sys/sys/ |
H A D | pax.h | 41 struct exec_package; 58 void pax_set_flags(struct exec_package *, struct proc *); 59 void pax_setup_elf_flags(struct exec_package *, uint32_t); 66 pax_set_flags(struct exec_package *epp, struct proc *p) in pax_set_flags() 70 pax_setup_elf_flags(struct exec_package *epp, uint32_t flags) in pax_setup_elf_flags() 130 void pax_aslr_init_vm(struct lwp *, struct vmspace *, struct exec_package *); 131 void pax_aslr_stack(struct exec_package *, vsize_t *); 132 uint32_t pax_aslr_stack_gap(struct exec_package *); 133 vaddr_t pax_aslr_exec_offset(struct exec_package *, vaddr_t); 134 voff_t pax_aslr_rtld_offset(struct exec_package *, vaddr_t, int); [all …]
|
H A D | exec.h | 146 struct exec_package; 150 typedef int (*exec_makecmds_fcn)(struct lwp *, struct exec_package *); 157 struct exec_package *, void *, char *, vaddr_t *); 158 int (*ecoff_probe_func)(struct lwp *, struct exec_package *); 164 int (*es_copyargs)(struct lwp *, struct exec_package *, 167 void (*es_setregs)(struct lwp *, struct exec_package *, vaddr_t); 170 int (*es_setup_stack)(struct lwp *, struct exec_package *); 190 struct exec_package { struct 256 int exec_makecmds (struct lwp *, struct exec_package *); 257 int exec_runcmds (struct lwp *, struct exec_package *); [all …]
|
H A D | exec_aout.h | 158 int exec_aout_makecmds(struct lwp *, struct exec_package *); 164 int exec_aout_prep_zmagic(struct lwp *, struct exec_package *); 165 int exec_aout_prep_nmagic(struct lwp *, struct exec_package *); 166 int exec_aout_prep_omagic(struct lwp *, struct exec_package *); 169 int exec_aout_prep_oldzmagic(struct lwp *, struct exec_package *); 170 int exec_aout_prep_oldnmagic(struct lwp *, struct exec_package *); 171 int exec_aout_prep_oldomagic(struct lwp *, struct exec_package *); 177 int cpu_exec_aout_makecmds(struct lwp *, struct exec_package *);
|
H A D | exec_ecoff.h | 176 int exec_ecoff_makecmds(struct lwp *, struct exec_package *); 177 int cpu_exec_ecoff_probe(struct lwp *, struct exec_package *); 178 void cpu_exec_ecoff_setregs(struct lwp *, struct exec_package *, vaddr_t); 180 int exec_ecoff_prep_omagic(struct lwp *, struct exec_package *, 182 int exec_ecoff_prep_nmagic(struct lwp *, struct exec_package *, 184 int exec_ecoff_prep_zmagic(struct lwp *, struct exec_package *,
|
H A D | exec_coff.h | 144 int exec_coff_makecmds(struct lwp *, struct exec_package *); 146 int exec_coff_prep_omagic(struct lwp *, struct exec_package *, 149 int exec_coff_prep_nmagic(struct lwp *, struct exec_package *, 152 int exec_coff_prep_zmagic(struct lwp *, struct exec_package *,
|
/netbsd-src/sys/compat/linux32/common/ |
H A D | linux32_exec.h | 52 int linux32_elf32_probe(struct lwp *, struct exec_package *, void *, 54 int linux32_elf32_copyargs(struct lwp *, struct exec_package *, 56 int linux_elf32_signature(struct lwp *, struct exec_package *, 60 struct exec_package *, Elf32_Ehdr *); 64 struct exec_package *, Elf32_Ehdr *); 68 struct exec_package *, Elf32_Ehdr *); 72 struct exec_package *, Elf32_Ehdr *); 77 void linux32_setregs (struct lwp *, struct exec_package *, vaddr_t stack);
|
/netbsd-src/sys/compat/netbsd32/ |
H A D | netbsd32_exec.h | 56 int netbsd32_exec_aout_prep_zmagic(struct lwp *, struct exec_package *); 57 int netbsd32_exec_aout_prep_nmagic(struct lwp *, struct exec_package *); 58 int netbsd32_exec_aout_prep_omagic(struct lwp *, struct exec_package *); 59 int exec_netbsd32_makecmds(struct lwp *, struct exec_package *); 62 int netbsd32_elf32_probe(struct lwp *, struct exec_package *, void *, 64 int netbsd32_elf32_probe_noteless(struct lwp *, struct exec_package *, 66 int netbsd32_elf32_copyargs(struct lwp *, struct exec_package *, 70 static __inline int netbsd32_copyargs(struct lwp *, struct exec_package *, 73 void netbsd32_setregs(struct lwp *, struct exec_package *, vaddr_t stack); 84 netbsd32_copyargs(struct lwp *l, struct exec_package *pack, in netbsd32_copyargs()
|
H A D | netbsd32_exec_elf32.c | 84 int ELFNAME2(netbsd32,probe_noteless)(struct lwp *, struct exec_package *epp, 86 extern int ELFNAME2(netbsd,signature)(struct lwp *, struct exec_package *, 90 ELFNAME2(netbsd32,probe)(struct lwp *l, struct exec_package *epp, in ELFNAME2() 109 ELFNAME2(netbsd32,probe_noteless)(struct lwp *l, struct exec_package *epp, in ELFNAME2() 134 netbsd32_elf32_copyargs(struct lwp *l, struct exec_package *pack, in netbsd32_elf32_copyargs()
|
H A D | netbsd32_exec_aout.c | 82 static int netbsd32_exec_aout_nomid(struct lwp *, struct exec_package *); 99 exec_netbsd32_makecmds(struct lwp *l, struct exec_package *epp) in exec_netbsd32_makecmds() 157 netbsd32_exec_aout_prep_zmagic(struct lwp *l, struct exec_package *epp) in netbsd32_exec_aout_prep_zmagic() 198 netbsd32_exec_aout_prep_nmagic(struct lwp *l, struct exec_package *epp) in netbsd32_exec_aout_prep_nmagic() 237 netbsd32_exec_aout_prep_omagic(struct lwp *l, struct exec_package *epp) in netbsd32_exec_aout_prep_omagic() 287 netbsd32_exec_aout_prep_oldzmagic(struct lwp *l, struct exec_package *epp) in netbsd32_exec_aout_prep_oldzmagic() 335 netbsd32_exec_aout_prep_oldnmagic(struct lwp *l, struct exec_package *epp) in netbsd32_exec_aout_prep_oldnmagic() 379 netbsd32_exec_aout_prep_oldomagic(struct lwp *l, struct exec_package *epp) in netbsd32_exec_aout_prep_oldomagic() 417 netbsd32_exec_aout_nomid(struct lwp *l, struct exec_package *epp) in netbsd32_exec_aout_nomid()
|
/netbsd-src/tools/arm-elf2aout/sys/ |
H A D | exec_aout.h | 158 int exec_aout_makecmds(struct lwp *, struct exec_package *); 164 int exec_aout_prep_zmagic(struct lwp *, struct exec_package *); 165 int exec_aout_prep_nmagic(struct lwp *, struct exec_package *); 166 int exec_aout_prep_omagic(struct lwp *, struct exec_package *); 169 int exec_aout_prep_oldzmagic(struct lwp *, struct exec_package *); 170 int exec_aout_prep_oldnmagic(struct lwp *, struct exec_package *); 171 int exec_aout_prep_oldomagic(struct lwp *, struct exec_package *); 177 int cpu_exec_aout_makecmds(struct lwp *, struct exec_package *);
|
/netbsd-src/tools/m68k-elf2aout/sys/ |
H A D | exec_aout.h | 158 int exec_aout_makecmds(struct lwp *, struct exec_package *); 164 int exec_aout_prep_zmagic(struct lwp *, struct exec_package *); 165 int exec_aout_prep_nmagic(struct lwp *, struct exec_package *); 166 int exec_aout_prep_omagic(struct lwp *, struct exec_package *); 169 int exec_aout_prep_oldzmagic(struct lwp *, struct exec_package *); 170 int exec_aout_prep_oldnmagic(struct lwp *, struct exec_package *); 171 int exec_aout_prep_oldomagic(struct lwp *, struct exec_package *); 177 int cpu_exec_aout_makecmds(struct lwp *, struct exec_package *);
|
/netbsd-src/sys/compat/sunos/ |
H A D | sunos_exec_aout.c | 64 int sunos_exec_aout_prep_zmagic(struct lwp *, struct exec_package *); 65 int sunos_exec_aout_prep_nmagic(struct lwp *, struct exec_package *); 66 int sunos_exec_aout_prep_omagic(struct lwp *, struct exec_package *); 69 exec_sunos_aout_makecmds(struct lwp *l, struct exec_package *epp) in exec_sunos_aout_makecmds() 119 sunos_exec_aout_prep_zmagic(struct lwp *l, struct exec_package *epp) in sunos_exec_aout_prep_zmagic() 157 sunos_exec_aout_prep_nmagic(struct lwp *l, struct exec_package *epp) in sunos_exec_aout_prep_nmagic() 192 sunos_exec_aout_prep_omagic(struct lwp *l, struct exec_package *epp) in sunos_exec_aout_prep_omagic()
|
/netbsd-src/sys/compat/m68k4k/ |
H A D | m68k4k_exec.c | 95 int exec_m68k4k_prep_zmagic(struct lwp *, struct exec_package *); 96 int exec_m68k4k_prep_nmagic(struct lwp *, struct exec_package *); 97 int exec_m68k4k_prep_omagic(struct lwp *, struct exec_package *); 113 exec_m68k4k_makecmds(struct lwp *l, struct exec_package *epp) in exec_m68k4k_makecmds() 164 exec_m68k4k_prep_zmagic(struct lwp *l, struct exec_package *epp) in exec_m68k4k_prep_zmagic() 202 exec_m68k4k_prep_nmagic(struct lwp *l, struct exec_package *epp) in exec_m68k4k_prep_nmagic() 239 exec_m68k4k_prep_omagic(struct lwp *l, struct exec_package *epp) in exec_m68k4k_prep_omagic()
|
/netbsd-src/sys/arch/hp300/include/ |
H A D | hpux_machdep.h | 62 struct exec_package; 65 int hpux_cpu_makecmds(struct lwp *, struct exec_package *); 71 void hpux_setregs(struct lwp *, struct exec_package *, vaddr_t);
|
/netbsd-src/sys/arch/riscv/include/ |
H A D | elf_machdep.h | 134 struct exec_package; 136 int cpu_netbsd_elf32_probe(struct lwp *, struct exec_package *, void *, char *, 139 int cpu_netbsd_elf64_probe(struct lwp *, struct exec_package *, void *, char *,
|
/netbsd-src/sys/kern/ |
H A D | exec_elf.c | 104 elf_load_interp(struct lwp *, struct exec_package *, char *, 110 int netbsd_elf_signature(struct lwp *, struct exec_package *, Elf_Ehdr *); 111 int netbsd_elf_note(struct exec_package *, const Elf_Nhdr *, const char *, 113 int netbsd_elf_probe(struct lwp *, struct exec_package *, void *, char *, 129 elf_placedynexec(struct exec_package *epp, Elf_Ehdr *eh, Elf_Phdr *ph) in elf_placedynexec() 156 elf_populate_auxv(struct lwp *l, struct exec_package *pack, char **stackp) in elf_populate_auxv() 270 elf_copyargs(struct lwp *l, struct exec_package *pack, in elf_copyargs() 420 elf_load_interp(struct lwp *l, struct exec_package *epp, char *path, in elf_load_interp() 650 exec_elf_makecmds(struct lwp *l, struct exec_package *epp) in exec_elf_makecmds() 900 netbsd_elf_signature(struct lwp *l, struct exec_package *ep in netbsd_elf_signature() [all...] |
H A D | kern_pax.c | 346 pax_set_flags(struct exec_package *epp, struct proc *p) in pax_set_flags() 363 pax_setup_elf_flags(struct exec_package *epp, uint32_t elf_flags) in pax_setup_elf_flags() 494 pax_aslr_epp_active(struct exec_package *epp) in pax_aslr_epp_active() 508 pax_aslr_init_vm(struct lwp *l, struct vmspace *vm, struct exec_package *ep) in pax_aslr_init_vm() 596 pax_aslr_exec_offset(struct exec_package *epp, vaddr_t align) in pax_aslr_exec_offset() 611 pax_aslr_rtld_offset(struct exec_package *epp, vaddr_t align, int use_topdown) in pax_aslr_rtld_offset() 630 pax_aslr_stack(struct exec_package *epp, vsize_t *max_stack_size) in pax_aslr_stack() 656 pax_aslr_stack_gap(struct exec_package *epp) in pax_aslr_stack_gap()
|
H A D | exec_ecoff.c | 95 exec_ecoff_makecmds(struct lwp *l, struct exec_package *epp) in exec_ecoff_makecmds() 151 exec_ecoff_prep_omagic(struct lwp *l, struct exec_package *epp, in exec_ecoff_prep_omagic() 182 exec_ecoff_prep_nmagic(struct lwp *l, struct exec_package *epp, in exec_ecoff_prep_nmagic() 222 exec_ecoff_prep_zmagic(struct lwp *l, struct exec_package *epp, in exec_ecoff_prep_zmagic()
|
H A D | exec_aout.c | 96 exec_aout_makecmds(struct lwp *l, struct exec_package *epp) in exec_aout_makecmds() 145 exec_aout_prep_zmagic(struct lwp *l, struct exec_package *epp) in exec_aout_prep_zmagic() 183 exec_aout_prep_nmagic(struct lwp *l, struct exec_package *epp) in exec_aout_prep_nmagic() 219 exec_aout_prep_omagic(struct lwp *l, struct exec_package *epp) in exec_aout_prep_omagic()
|
/netbsd-src/sys/arch/mips/include/ |
H A D | elf_machdep.h | 216 struct exec_package; 218 int mips_netbsd_elf32_probe(struct lwp *, struct exec_package *, void *, char *, 222 int mips_netbsd_elf64_probe(struct lwp *, struct exec_package *, void *, char *,
|
/netbsd-src/sys/compat/sunos32/ |
H A D | sunos32_exec.h | 36 int exec_sunos32_aout_makecmds(struct lwp *, struct exec_package *); 37 void sunos32_setregs(struct lwp *l, struct exec_package *pack,
|
/netbsd-src/sys/compat/freebsd/ |
H A D | freebsd_exec.h | 41 int freebsd_elf32_probe(struct lwp *, struct exec_package *, void *, 45 void freebsd_setregs(struct lwp *, struct exec_package *, vaddr_t);
|
/netbsd-src/sys/compat/common/ |
H A D | compat_util.h | 66 struct exec_package; 79 int compat_elf_check_interp(struct exec_package *, char *, const char *);
|