[Toybox] [PATCH] hostname: fix behavior when in jail.
Rob Landley
rob at landley.net
Sat Jan 19 12:43:22 PST 2019
On 1/19/19 1:41 PM, enh via Toybox wrote:
> Only -d and -f should cause a DNS lookup. The rest should just act
> directly on the result of gethostname(3). Encountered with the AOSP
> buildbots' use of nsjail, but tested with both the Debian hostname and
> toybox hostname thus:
Applied.
I'm rooting on this build work from a distance, sorry I haven't been more direct
help. I'm curious what commands are left that _don't_ point to toybox. (I used
to do things like "for i in $(echo $PATH | tr : '\n'); do for i in $(echo $i/* |
tr ' ' '\n'); do basename $i; done; done | sort -u" for that...)
Rob
More information about the Toybox
mailing list