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.h49 struct image_params;
90 bool (*const header_supported)(const struct image_params *,
117 int __elfN(freebsd_fixup)(uintptr_t *, struct image_params *);
120 int __elfN(freebsd_copyout_auxargs)(struct image_params *, uintptr_t);
127 bool __elfN(parse_notes)(const struct image_params *, const Elf_Note *,
H A Dexec.h60 struct image_params;
63 int (*ex_imgact)(struct image_params *);
90 int exec_map_first_page(struct image_params *);
91 void exec_unmap_first_page(struct image_params *);
H A Dsysent.h94 struct image_params;
104 int (*sv_fixup)(uintptr_t *, struct image_params *);
119 int (*sv_copyout_auxargs)(struct image_params *,
128 int (*sv_copyout_strings)(struct image_params *,
130 void (*sv_setregs)(struct thread *, struct image_params *,
154 int (*sv_onexec)(struct proc *, struct image_params *);
155 void (*sv_protect)(struct image_params *, int);
159 struct image_params *imgp);
/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,
152 static bool ppc64_elfv1_header_match(const struct image_params *params,
154 static bool ppc64_elfv2_header_match(const struct image_params *params,
228 ppc64_elfv1_header_match(const struct image_params *params, in ppc64_elfv1_header_match()
238 ppc64_elfv2_header_match(const struct image_params *params, in ppc64_elfv2_header_match()
248 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);
162 aout_fixup(uintptr_t *stack_base, struct image_params *imgp) in aout_fixup()
172 exec_aout_imgact(struct image_params *imgp) in exec_aout_imgact()
H A Dimgact_elf.c95 static const Elf_Brandinfo *__elfN(get_brandinfo)(struct image_params *imgp,
99 static int __elfN(load_section)(const struct image_params *imgp,
102 static int __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp);
106 static bool __elfN(check_note)(struct image_params *imgp,
342 __elfN(get_brandinfo)(struct image_params *imgp, const char *interp, in __elfN()
554 __elfN(map_insert)(const struct image_params *imgp, vm_map_t map, in __elfN()
626 __elfN(load_section)(const struct image_params *imgp, vm_ooffset_t offset, in __elfN()
730 __elfN(load_sections)(const struct image_params *imgp, const Elf_Ehdr *hdr, in __elfN()
789 struct image_params image_params; in __elfN() member
795 struct image_params *imgp; in __elfN()
[all …]
H A Dkern_exec.c379 execve_nosetid(struct image_params *imgp) in execve_nosetid()
401 struct image_params image_params, *imgp; in do_execve() local
425 imgp = &image_params; in do_execve()
1074 exec_map_first_page(struct image_params *imgp) in exec_map_first_page()
1106 exec_unmap_first_page(struct image_params *imgp) in exec_unmap_first_page()
1151 exec_new_vmspace(struct image_params *imgp, struct sysentvec *sv) in exec_new_vmspace()
1212 exec_map_stack(struct image_params *imgp) in exec_map_stack()
1680 exec_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in exec_copyout_strings()
1847 exec_check_permissions(struct image_params *imgp) in exec_check_permissions()
/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 *,
172 elf32_arm_abi_supported(const struct image_params *imgp, in elf32_arm_abi_supported()
275 freebsd32_setregs(struct thread *td, struct image_params *imgp, in freebsd32_setregs()
/freebsd/sys/powerpc/include/
H A Dreg.h73 struct image_params;
77 void ppc32_setregs(struct thread *, struct image_params *, uintptr_t);
/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()
665 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()
168 linux_exec_setregs(struct thread *td, struct image_params *imgp, in linux_exec_setregs()
472 linux_on_exec_vmspace(struct proc *p, struct image_params *imgp) in linux_on_exec_vmspace()
/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()
618 linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base) in linux_copyout_strings()
824 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;
407 int mac_execve_enter(struct image_params *imgp, struct mac *mac_p);
408 void mac_execve_exit(struct image_params *imgp);
540 struct image_params *imgp);
730 struct label *interpvplabel, struct image_params *imgp);
733 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/arm/arm/
H A Delf_machdep.c57 static bool elf32_arm_abi_supported(const struct image_params *,
126 elf32_arm_abi_supported(const struct image_params *imgp, in elf32_arm_abi_supported()
/freebsd/sys/amd64/linux/
H A Dlinux_sysvec.c108 static void linux_exec_setregs(struct thread *td, struct image_params *imgp,
112 struct image_params *imgp);
222 linux64_arch_copyout_auxargs(struct image_params *imgp, Elf_Auxinfo **pos) in linux64_arch_copyout_auxargs()
235 linux_exec_setregs(struct thread *td, struct image_params *imgp, in linux_exec_setregs()
724 linux_on_exec_vmspace(struct proc *p, struct image_params *imgp) in linux_on_exec_vmspace()

123