]> www.infradead.org Git - users/dwmw2/qemu.git/commit
bsd-user: Simplify the implementation of execve
authorDoug Rabson <dfr@rabson.org>
Thu, 8 Dec 2022 14:21:52 +0000 (14:21 +0000)
committerWarner Losh <imp@bsdimp.com>
Tue, 23 Jul 2024 16:50:54 +0000 (10:50 -0600)
commite6e102b972c5228d9d50b3208b83b025ccfd1455
tree1ee4a827d481bb8fa265ce4184295a4e42b3b141
parentce6c541dcb8aff5ca6f02bb64b0d6b6753becab4
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>
bsd-user/freebsd/os-proc.c
bsd-user/main.c