Nadav Tasher <[email protected]> wrote:
>This change makes the standalone shell use the BB_EXECVPE utility.
>BB_EXECVPE calls BB_EXECVP which has NOEXEC and applets only logic.

Hold on, this isn't right.  In standalone shell mode BB_EXECVPE()
uses execvpe() to execute a command that isn't an applet, thus
resulting in a path search.

But the shell doesn't perform path lookup the same way as execvpe().
The shell's path lookup is handled by the explicit PATH search loop
in shellexec().  It shouldn't be preempted by a call to execvpe() in
tryexec().

Cheers,

Ron
_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to