Silent failure of busybox mount for unknown fs type

Cathey, Jim jcathey at ciena.com
Mon Oct 12 16:02:53 UTC 2009


>It is hard to reliably detect exec failure after fork.
>Parent can only see they child exited with some exitcode or signal,
>how it can know that child exited because exec in the child failed?

True enough, but is it not convention to use an
exit code of 127 to indicate exec failure?

...
execl();
_exit(127);
...

-- Jim






More information about the busybox mailing list