[Toybox] [PATCH 1/4] Implement hostname lookups in display_routes

Rob Landley rob at landley.net
Tue Jun 2 10:42:41 PDT 2020


On 6/2/20 12:25 PM, Rich Felker wrote:
> This likely needs a new __UAPI_* macro to suppress it. It's likely
> that nobody has hit it because sys/sysinfo.h is a pretty obscure
> header and it's usually not included anywhere except uptime(1), etc.
> Having it in lib/portability.h, rather than just in the files that
> need it, is probably not a good idea.

It built fine with glibc, which is why it got committed unnoticed.

> I'm not sure how kernel folks will want to fix this, if at all. Once
> we get an idea of that I can include a patch in mcm for the kernel
> header that matches what upstream is doing.

Again, builds fine with glibc. I commited a workaround for the musl bug.

Rob


More information about the Toybox mailing list