Home
last modified time | relevance | path

Searched refs:image_params (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/sys/sys/
H A Dimgact.h58 struct image_params { struct
114 int exec_check_permissions(struct image_params *); argument
116 int exec_copyout_strings(struct image_params *, uintptr_t *);
118 int exec_map_stack(struct image_params *);
119 int exec_new_vmspace(struct image_params *, struct sysentvec *);
120 void exec_setregs(struct thread *, struct image_params *, uintptr_t);
121 int exec_shell_imgact(struct image_params *);
H A Dimgact_elf.h48 struct image_params;
89 bool (*header_supported)(const struct image_params *,
116 int __elfN(freebsd_fixup)(uintptr_t *, struct image_params *);
119 int __elfN(freebsd_copyout_auxargs)(struct image_params *, uintptr_t);
126 bool __elfN(parse_notes)(const struct image_params *, const Elf_Note *,
H A Dsysent.h94 struct image_params;
104 int (*sv_fixup)(uintptr_t *, struct image_params *);
118 int (*sv_copyout_auxargs)(struct image_params *,
127 int (*sv_copyout_strings)(struct image_params *,
129 void (*sv_setregs)(struct thread *, struct image_params *,
151 int (*sv_onexec)(struct proc *, struct image_params *);
152 void (*sv_protect)(struct image_params *, int);
156 struct image_params *imgp);
H A Dexec.h70 struct image_params;
73 int (*ex_imgact)(struct image_params *);
100 int exec_map_first_page(struct image_params *);
101 void exec_unmap_first_page(struct image_params *);
H A Deventhandler.h237 struct image_params;
241 typedef void (*execlist_fn)(void *, struct proc *, struct image_params *);
/freebsd/sys/compat/linux/
H A Dlinux_elf.h45 void __linuxN(arch_copyout_auxargs)(struct image_params *, Elf_Auxinfo **);
46 int __linuxN(copyout_auxargs)(struct image_params *, uintptr_t);
47 int __linuxN(copyout_strings)(struct image_params *, uintptr_t *);
H A Dlinux_mib.h65 struct image_params;
66 int linux_setid_allowed_query(struct thread *td, struct image_params *imgp);
H A Dlinux_emul.h33 struct image_params;
54 int linux_on_exec(struct proc *, struct image_params *);
H A Dlinux_vdso.h44 vm_offset_t, struct image_params *);
/freebsd/sys/powerpc/powerpc/
H A Delf64_machdep.c61 static void exec_setregs_funcdesc(struct thread *td, struct image_params *imgp,
148 static bool ppc64_elfv1_header_match(const struct image_params *params,
150 static bool ppc64_elfv2_header_match(const struct image_params *params,
224 ppc64_elfv1_header_match(const struct image_params *params, in ppc64_elfv1_header_match()
234 ppc64_elfv2_header_match(const struct image_params *params, in ppc64_elfv2_header_match()
244 exec_setregs_funcdesc(struct thread *td, struct image_params *imgp, in exec_setregs_funcdesc()
/freebsd/sys/kern/
H A Dimgact_aout.c64 static int exec_aout_imgact(struct image_params *imgp);
65 static int aout_fixup(uintptr_t *stack_base, struct image_params *imgp);
164 aout_fixup(uintptr_t *stack_base, struct image_params *imgp) in aout_fixup()
174 exec_aout_imgact(struct image_params *imgp) in exec_aout_imgact()
H A Dimgact_elf.c87 static Elf_Brandinfo *__elfN(get_brandinfo)(struct image_params *imgp,
91 static int __elfN(load_section)(const struct image_params *imgp,
94 static int __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp);
98 static bool __elfN(check_note)(struct image_params *imgp,
337 __elfN(get_brandinfo)(struct image_params *imgp, const char *interp, in __elfN()
549 __elfN(map_insert)(const struct image_params *imgp, vm_map_t map, in __elfN()
620 static int __elfN(load_section)(const struct image_params *imgp, in __elfN()
784 struct image_params image_params; in __elfN() member
790 struct image_params *imgp; in __elfN()
807 imgp = &tempdata->image_params; in __elfN()
[all …]
H A Dkern_exec.c367 execve_nosetid(struct image_params *imgp) in execve_nosetid()
389 struct image_params image_params, *imgp; in do_execve() local
413 imgp = &image_params; in do_execve()
1047 exec_map_first_page(struct image_params *imgp) in exec_map_first_page()
1079 exec_unmap_first_page(struct image_params *imgp) in exec_unmap_first_page()
1124 exec_new_vmspace(struct image_params *imgp, struct sysentvec *sv) in exec_new_vmspace()
1185 exec_map_stack(struct image_params *imgp) in exec_map_stack()
1653 exec_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in exec_copyout_strings()
1820 exec_check_permissions(struct image_params *imgp) in exec_check_permissions()
/freebsd/sys/powerpc/include/
H A Dreg.h78 struct image_params;
82 void ppc32_setregs(struct thread *, struct image_params *, uintptr_t);
/freebsd/sys/arm64/arm64/
H A Delf32_machdep.c75 static void freebsd32_setregs(struct thread *td, struct image_params *imgp,
79 static bool elf32_arm_abi_supported(const struct image_params *,
170 elf32_arm_abi_supported(const struct image_params *imgp, in elf32_arm_abi_supported()
273 freebsd32_setregs(struct thread *td, struct image_params *imgp, in freebsd32_setregs()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec_internal.h67 struct image_params;
90 int mac_veriexec_fingerprint_check_image(struct image_params *imgp,
H A Dveriexec_fingerprint.c105 identify_error (struct image_params *imgp, struct thread *td, const char *msg) in identify_error()
259 mac_veriexec_fingerprint_check_image(struct image_params *imgp, in mac_veriexec_fingerprint_check_image()
/freebsd/sys/compat/ia32/
H A Dia32_signal.h187 struct image_params;
189 void ia32_setregs(struct thread *td, struct image_params *imgp,
/freebsd/sys/i386/linux/
H A Dlinux_sysvec.c100 struct image_params *iparams);
103 struct image_params *imgp, uintptr_t stack);
106 struct image_params *imgp);
121 linux_fixup(uintptr_t *stack_base, struct image_params *imgp) in linux_fixup()
142 linux32_arch_copyout_auxargs(struct image_params *imgp, Elf_Auxinfo **pos) in linux32_arch_copyout_auxargs()
565 linux_exec_setregs(struct thread *td, struct image_params *imgp, in linux_exec_setregs()
661 linux_on_exec_vmspace(struct proc *p, struct image_params *imgp) in linux_on_exec_vmspace()
H A Dimgact_linux.c55 static int exec_linux_imgact(struct image_params *iparams);
58 exec_linux_imgact(struct image_params *imgp) in exec_linux_imgact()
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c101 static void linux_exec_setregs(struct thread *td, struct image_params *imgp,
105 struct image_params *imgp);
153 linux64_arch_copyout_auxargs(struct image_params *imgp, Elf_Auxinfo **pos) in linux64_arch_copyout_auxargs()
166 linux_exec_setregs(struct thread *td, struct image_params *imgp, in linux_exec_setregs()
468 linux_on_exec_vmspace(struct proc *p, struct image_params *imgp) in linux_on_exec_vmspace()
/freebsd/sys/security/mac/
H A Dmac_framework.h62 struct image_params;
385 int mac_execve_enter(struct image_params *imgp, struct mac *mac_p);
386 void mac_execve_exit(struct image_params *imgp);
518 struct image_params *imgp);
708 struct label *interpvplabel, struct image_params *imgp);
711 struct image_params *imgp);
H A Dmac_process.c134 mac_execve_enter(struct image_params *imgp, struct mac *mac_p) in mac_execve_enter()
174 mac_execve_exit(struct image_params *imgp) in mac_execve_exit()
/freebsd/sys/amd64/linux32/
H A Dlinux32_sysvec.c102 static int linux_copyout_strings(struct image_params *imgp,
106 struct image_params *imgp, uintptr_t stack);
109 struct image_params *imgp);
135 linux32_arch_copyout_auxargs(struct image_params *imgp, Elf_Auxinfo **pos) in linux32_arch_copyout_auxargs()
570 linux_exec_setregs(struct thread *td, struct image_params *imgp, in linux_exec_setregs()
617 linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in linux_copyout_strings()
821 linux_on_exec_vmspace(struct proc *p, struct image_params *imgp) in linux_on_exec_vmspace()
/freebsd/sys/arm/arm/
H A Delf_machdep.c57 static bool elf32_arm_abi_supported(const struct image_params *,
124 elf32_arm_abi_supported(const struct image_params *imgp, in elf32_arm_abi_supported()

123