Re: [PATCH v3 10/43] bsd-user: implement path searching

2021-09-05 Thread Richard Henderson
On 9/3/21 1:46 AM, i...@bsdimp.com wrote: From: Warner Losh 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 fin

[PATCH v3 10/43] bsd-user: implement path searching

2021-09-02 Thread imp
From: Warner Losh 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 i