Home
last modified time | relevance | path

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

123

/freebsd-14.2/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)(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)(struct image_params *, Elf_Note *, const char *,
H A Dexec.h72 struct image_params;
75 int (*ex_imgact)(struct image_params *);
102 int exec_map_first_page(struct image_params *);
103 void exec_unmap_first_page(struct image_params *);
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 *);
155 struct image_params *imgp);
H A Deventhandler.h237 struct image_params;
241 typedef void (*execlist_fn)(void *, struct proc *, struct image_params *);
/freebsd-14.2/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-14.2/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(struct image_params *params,
150 static bool ppc64_elfv2_header_match(struct image_params *params,
224 ppc64_elfv1_header_match(struct image_params *params, int32_t *osrel __unused, in ppc64_elfv1_header_match()
234 ppc64_elfv2_header_match(struct image_params *params, int32_t *osrel __unused, in ppc64_elfv2_header_match()
244 exec_setregs_funcdesc(struct thread *td, struct image_params *imgp, in exec_setregs_funcdesc()
/freebsd-14.2/sys/kern/
H A Dimgact_aout.c65 static int exec_aout_imgact(struct image_params *imgp);
66 static int aout_fixup(uintptr_t *stack_base, struct image_params *imgp);
165 aout_fixup(uintptr_t *stack_base, struct image_params *imgp) in aout_fixup()
175 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,
93 static int __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp);
97 static bool __elfN(check_note)(struct image_params *imgp,
336 __elfN(get_brandinfo)(struct image_params *imgp, const char *interp, in __elfN()
620 __elfN(load_section)(struct image_params *imgp, vm_ooffset_t offset, in __elfN()
783 struct image_params image_params; in __elfN() member
789 struct image_params *imgp; in __elfN()
806 imgp = &tempdata->image_params; in __elfN()
999 __elfN(get_interp)(struct image_params *imgp, const Elf_Phdr *phdr, in __elfN()
1094 __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp) in __CONCAT()
[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-14.2/sys/powerpc/include/
H A Dreg.h78 struct image_params;
82 void ppc32_setregs(struct thread *, struct image_params *, uintptr_t);
/freebsd-14.2/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(struct image_params *, int32_t *,
170 elf32_arm_abi_supported(struct image_params *imgp, int32_t *osrel __unused, in elf32_arm_abi_supported()
273 freebsd32_setregs(struct thread *td, struct image_params *imgp, in freebsd32_setregs()
/freebsd-14.2/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-14.2/sys/compat/ia32/
H A Dia32_signal.h187 struct image_params;
189 void ia32_setregs(struct thread *td, struct image_params *imgp,
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/sys/arm/arm/
H A Delf_machdep.c58 static bool elf32_arm_abi_supported(struct image_params *, int32_t *,
125 elf32_arm_abi_supported(struct image_params *imgp, int32_t *osrel __unused, in elf32_arm_abi_supported()

123