On 9/3/21 1:46 AM, [email protected] wrote:
From: Warner Losh<[email protected]>

Use the PATH to find the executable given a bare argument. We need to do
this so we can implement mixing native and emulated binaries (e.g.,
execing a x86 native binary from an emulated arm binary to optimize
parts of the build). By finding the binary, we will know how to exec it.

Signed-off-by: Stacey Son<[email protected]>
Signed-off-by: Warner Losh<[email protected]>
---
  bsd-user/bsdload.c | 36 +++++++++++++++++++++++++++++++++++-
  bsd-user/qemu.h    |  3 ++-
  2 files changed, 37 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to