Cleanup: move #ifdef around the CONF block and eliminate stub list.
Cleanup: move #ifdef around the CONF block and eliminate stub list. The apple entries we stub out are scattered through the table, but this is a contiguous all-or-nothing block so just put the #ifdef...
View Articlegetconf: fix sense of #if conditional.
getconf: fix sense of #if conditional. Luckily this was obvious because it broke the macOS build.
View Articlemicrocom: simple menu, new "paste file" functionality.
microcom: simple menu, new "paste file" functionality. Rather than take up yet another key for the new functionality, I've moved everything to a menu, similar to the one in telnet. It's not amazing,...
View Articleip: improve 'ip link set' parsing
ip: improve 'ip link set' parsing Some utilities expect that the order of parameters does not matter since it is the behavior of iproute2 utility. So, fix parsing to provide the same behavior for...
View ArticleDon't use CTRL() macro that glibc leaks from termios.h but musl and b…
Don't use CTRL() macro that glibc leaks from termios.h but musl and bionic don't
View ArticleWean su.c off shadow.h (so ndk can build it).
Wean su.c off shadow.h (so ndk can build it).
View Articlefile: add arm32 ELF flag decoding.
file: add arm32 ELF flag decoding. Also fix finding the flags in the ELF header for riscv32; the existing code only worked for 64-bit ELF files.
View ArticleCatch corrupted tarballs so we don't set a nonsense mode.
Catch corrupted tarballs so we don't set a nonsense mode.
View Articlereadelf: decode RISCV_ATTRIBUTES sections.
readelf: decode RISCV_ATTRIBUTES sections. arc, arm32, and csky all have these sections too, but I've never seen arc or csky in real life, and arm32 isn't as regular as riscv's "odd vs even" decoding,...
View ArticleMove md5/sha1/sha256 hash code to lib/hash.c
Move md5/sha1/sha256 hash code to lib/hash.c
View Articlemicrocom: move from e[x]it to [q]uit.
microcom: move from e[x]it to [q]uit. Also, if we're going to have a single line of help, switch to the more common format for such prompts (and, if nothing else, fix the previously inconsistent...
View ArticleMac and BSD use "gmake", so use $(MAKE) to pass along argv[0] name.
Mac and BSD use "gmake", so use $(MAKE) to pass along argv[0] name.
View ArticleAdd more things Ed Maste says build on FreeBSD to bsd_defconfig.
Add more things Ed Maste says build on FreeBSD to bsd_defconfig.
View ArticleMove linux32 command to its own file, because BSD can't build it.
Move linux32 command to its own file, because BSD can't build it. (It's also kind of silly: it makes uname -m produce different output. That's it. It doesn't stop you from running x86-64 binaries, it's...
View Article