image_params
freebsd_brand_info_la57_img_compat(const struct image_params *imgp,
exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
ia32_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
static void linux_exec_setregs(struct thread *td, struct image_params *imgp,
struct image_params *imgp);
linux64_arch_copyout_auxargs(struct image_params *imgp, Elf_Auxinfo **pos)
linux_exec_setregs(struct thread *td, struct image_params *imgp,
linux_on_exec_vmspace(struct proc *p, struct image_params *imgp)
static int linux_copyout_strings(struct image_params *imgp,
struct image_params *imgp, uintptr_t stack);
struct image_params *imgp);
linux32_arch_copyout_auxargs(struct image_params *imgp, Elf_Auxinfo **pos)
linux_exec_setregs(struct thread *td, struct image_params *imgp,
linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base)
linux_on_exec_vmspace(struct proc *p, struct image_params *imgp)
elf32_arm_abi_supported(const struct image_params *imgp,
static bool elf32_arm_abi_supported(const struct image_params *,
exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
elf32_arm_abi_supported(const struct image_params *imgp,
freebsd32_setregs(struct thread *td, struct image_params *imgp,
static void freebsd32_setregs(struct thread *td, struct image_params *imgp,
static bool elf32_arm_abi_supported(const struct image_params *,
arm64_exec_protect(struct image_params *imgp, int flags __unused)
static void arm64_exec_protect(struct image_params *, int);
exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
static void linux_exec_setregs(struct thread *td, struct image_params *imgp,
struct image_params *imgp);
linux64_arch_copyout_auxargs(struct image_params *imgp, Elf_Auxinfo **pos)
linux_exec_setregs(struct thread *td, struct image_params *imgp,
linux_on_exec_vmspace(struct proc *p, struct image_params *imgp)
freebsd32_copyout_strings(struct image_params *imgp, uintptr_t *stack_base)
int freebsd32_copyout_strings(struct image_params *imgp,
struct image_params;
void ia32_setregs(struct thread *td, struct image_params *imgp,
__linuxN(copyout_strings)(struct image_params *imgp, uintptr_t *stack_base)
__linuxN(copyout_auxargs)(struct image_params *imgp, uintptr_t base)
void __linuxN(arch_copyout_auxargs)(struct image_params *, Elf_Auxinfo **);
int __linuxN(copyout_auxargs)(struct image_params *, uintptr_t);
int __linuxN(copyout_strings)(struct image_params *, uintptr_t *);
linux_on_exec(struct proc *p, struct image_params *imgp)
struct image_params;
int linux_on_exec(struct proc *, struct image_params *);
struct image_params *imgp __unused)
struct image_params;
int linux_setid_allowed_query(struct thread *td, struct image_params *imgp);
vm_offset_t size, struct image_params *imgp)
vm_offset_t, struct image_params *);
struct image_params *imgp)
exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
static int exec_linux_imgact(struct image_params *iparams);
exec_linux_imgact(struct image_params *imgp)
struct image_params *iparams);
struct image_params *imgp, uintptr_t stack);
struct image_params *imgp);
linux_fixup(uintptr_t *stack_base, struct image_params *imgp)
linux32_arch_copyout_auxargs(struct image_params *imgp, Elf_Auxinfo **pos)
linux_exec_setregs(struct thread *td, struct image_params *imgp,
linux_on_exec_vmspace(struct proc *p, struct image_params *imgp)
aout_fixup(uintptr_t *stack_base, struct image_params *imgp)
exec_aout_imgact(struct image_params *imgp)
static int exec_aout_imgact(struct image_params *imgp);
static int aout_fixup(uintptr_t *stack_base, struct image_params *imgp);
imgact_binmisc_exec(struct image_params *imgp)
__elfN(get_interp)(struct image_params *imgp, const Elf_Phdr *phdr,
static int __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp);
static bool __elfN(check_note)(struct image_params *imgp,
__elfN(load_interp)(struct image_params *imgp, const Elf_Brandinfo *brand_info,
__CONCAT(exec_, __elfN(imgact))(struct image_params *imgp)
__elfN(freebsd_copyout_auxargs)(struct image_params *imgp, uintptr_t base)
__elfN(freebsd_fixup)(uintptr_t *stack_base, struct image_params *imgp)
__elfN(parse_notes)(const struct image_params *imgp, const Elf_Note *checknote,
__elfN(check_note)(struct image_params *imgp, const Elf_Brandnote *brandnote,
__elfN(get_brandinfo)(struct image_params *imgp, const char *interp,
__elfN(map_insert)(const struct image_params *imgp, vm_map_t map,
__elfN(load_section)(const struct image_params *imgp, vm_ooffset_t offset,
__elfN(load_sections)(const struct image_params *imgp, const Elf_Ehdr *hdr,
struct image_params image_params;
struct image_params *imgp;
imgp = &tempdata->image_params;
__elfN(enforce_limits)(struct image_params *imgp, const Elf_Ehdr *hdr,
static const Elf_Brandinfo *__elfN(get_brandinfo)(struct image_params *imgp,
static int __elfN(load_section)(const struct image_params *imgp,
exec_shell_imgact(struct image_params *imgp)
exec_map_first_page(struct image_params *imgp)
exec_unmap_first_page(struct image_params *imgp)
exec_new_vmspace(struct image_params *imgp, struct sysentvec *sv)
exec_map_stack(struct image_params *imgp)
exec_copyout_strings(struct image_params *imgp, uintptr_t *stack_base)
exec_check_permissions(struct image_params *imgp)
execve_nosetid(struct image_params *imgp)
struct image_params image_params, *imgp;
imgp = &image_params;
struct image_params *imgp);
struct image_params *imgp __unused)
struct image_params;
void ppc32_setregs(struct thread *, struct image_params *, uintptr_t);
static bool ppc64_elfv1_header_match(const struct image_params *params,
static bool ppc64_elfv2_header_match(const struct image_params *params,
ppc64_elfv1_header_match(const struct image_params *params,
ppc64_elfv2_header_match(const struct image_params *params,
exec_setregs_funcdesc(struct thread *td, struct image_params *imgp,
static void exec_setregs_funcdesc(struct thread *td, struct image_params *imgp,
__elfN(powerpc_copyout_auxargs)(struct image_params *imgp, uintptr_t base)
exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
ppc32_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
int mac_execve_enter(struct image_params *imgp, struct mac *mac_p);
void mac_execve_exit(struct image_params *imgp);
struct image_params *imgp);
struct image_params;
struct label *interpvplabel, struct image_params *imgp);
struct image_params *imgp);
struct image_params *imgp, struct label *execlabel);
struct image_params *imgp, struct label *execlabel);
struct label *interpvplabel, struct image_params *imgp,
struct image_params;
mac_execve_enter(struct image_params *imgp, struct mac *mac_p)
mac_execve_exit(struct image_params *imgp)
struct vnode *vp, struct label *interpvplabel, struct image_params *imgp)
struct label *interpvplabel, struct image_params *imgp)
struct image_params *imgp)
struct label *vplabel, struct image_params *imgp,
struct label *vplabel, struct image_params *imgp,
struct label *vplabel, struct image_params *imgp,
struct image_params *imgp, struct label *execlabel __unused)
struct label *interpvplabel, struct image_params *imgp,
struct image_params *imgp, struct label *execlabel)
struct image_params *imgp, struct label *execlabel)
struct label *vplabel, struct image_params *imgp,
struct label *vplabel, struct image_params *imgp,
struct label *vplabel, struct image_params *imgp,
struct image_params *imgp, struct label *execlabel)
struct image_params *imgp, struct label *execlabel)
struct label *vplabel, struct image_params *imgp,
struct label *interpvplabel, struct image_params *imgp,
struct image_params *imgp, struct label *execlabel)
struct image_params *imgp, struct label *execlabel __unused)
struct image_params img;
struct image_params;
int mac_veriexec_fingerprint_check_image(struct image_params *imgp,
identify_error (struct image_params *imgp, struct thread *td, const char *msg)
mac_veriexec_fingerprint_check_image(struct image_params *imgp,
struct image_params;
typedef void (*execlist_fn)(void *, struct proc *, struct image_params *);
struct image_params;
int (*ex_imgact)(struct image_params *);
int exec_map_first_page(struct image_params *);
void exec_unmap_first_page(struct image_params *);
int exec_check_permissions(struct image_params *);
int exec_copyout_strings(struct image_params *, uintptr_t *);
int exec_map_stack(struct image_params *);
int exec_new_vmspace(struct image_params *, struct sysentvec *);
void exec_setregs(struct thread *, struct image_params *, uintptr_t);
int exec_shell_imgact(struct image_params *);
int __elfN(freebsd_fixup)(uintptr_t *, struct image_params *);
int __elfN(freebsd_copyout_auxargs)(struct image_params *, uintptr_t);
bool __elfN(parse_notes)(const struct image_params *, const Elf_Note *,
struct image_params;
bool (*const header_supported)(const struct image_params *,
int (*sv_fixup)(uintptr_t *, struct image_params *);
int (*sv_copyout_auxargs)(struct image_params *,
int (*sv_copyout_strings)(struct image_params *,
void (*sv_setregs)(struct thread *, struct image_params *,
int (*sv_onexec)(struct proc *, struct image_params *);
void (*sv_protect)(struct image_params *, int);
struct image_params *imgp);
struct image_params;