qemu/bsd-user/freebsd
Doug Rabson e6e102b972 bsd-user: Simplify the implementation of execve
This removes the logic which prepends the emulator to each call to
execve and fexecve. This is not necessary with the existing
imgact_binmisc support and it avoids the need to install the emulator
binary into jail environments when using 'binmiscctl --pre-open'.

Signed-off-by: Doug Rabson <dfr@rabson.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
2024-07-23 10:50:54 -06:00
..
host-os.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
meson.build bsd-user: Implement get_filename_from_fd. 2023-10-03 17:14:06 -06:00
os-misc.h bsd-user: Implement shm_rename(2) system call 2023-10-03 17:14:06 -06:00
os-proc.c bsd-user: Simplify the implementation of execve 2024-07-23 10:50:54 -06:00
os-proc.h {linux,bsd}-user: Pass pid to fork_end() 2024-03-06 12:35:19 +00:00
os-stat.c bsd-uesr: Implement h2t_freebsd_stat and h2t_freebsd_statfs functions 2023-08-28 12:16:18 -06:00
os-stat.h bsd-user: spelling fixes: necesary, agrument, undocummented 2023-11-15 11:09:17 +03:00
os-strace.h bsd-user: move strace OS/arch dependent code to host/arch dirs 2021-01-11 14:59:21 +01:00
os-sys.c bsd-user: implement sysctlbyname(2) 2023-03-01 11:09:19 -07:00
os-syscall.c bsd-user: Add stubs for vadvise(), sbrk() and sstk() 2023-10-03 17:14:07 -06:00
qemu-os.h bsd-user: Declarations of h2t and t2h conversion functions. 2023-08-28 12:16:18 -06:00
strace.list bsd-user/strace.list: Remove support for FreeBSD versions older than 12.0 2021-10-18 12:51:39 -06:00
syscall_nr.h bsd-user: regenerate FreeBSD's system call numbers 2021-01-11 14:59:21 +01:00
target_os_elf.h exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h' 2024-04-26 17:03:05 +02:00
target_os_siginfo.h bsd-user: spelling fixes 2023-09-20 07:54:34 +03:00
target_os_signal.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
target_os_stack.h exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h' 2024-04-26 17:03:05 +02:00
target_os_thread.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
target_os_ucontext.h bsd-user/freebsd/target_os_ucontext.h: Prefer env as arg name for CPUArchState args 2022-01-30 17:13:50 -07:00
target_os_user.h bsd-user: spelling fixes 2023-09-20 07:54:34 +03:00
target_os_vmparam.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00