<p dir="ltr">One last thing to add to the above - as Ed said:</p>
<p dir="ltr">> Yes, it's not used (or available) for native builds -- the syscalls<br>
> and ioctls aren't available in that case. The Linux emulation layer<br>
> would be used when running an unmodified Linux toybox binary. I'm<br>
> happy enough to just avoid building the Linux-specific tools for now.</p>
<p dir="ltr">As you can see some of the error messages I encountered upon 'make test' under Linux emulation definitely showed some missing ioctls. However, I can't see how those particular commands and corresponding ioctls or syscalls won't be used by many Docker images in the wild, which FreeBSD intends to support.</p>
<p dir="ltr">It definitely seems Toybox would make a great test suite for any Linux emulation framework on any platform that intends to build minimal support for most Linux userland binaries.</p>
<p dir="ltr">- Zack</p>