aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-11First cleanup pass on new dmesg.Rob Landley
2016-12-09Pass DIRTREE_PROC through the ps callbacks.Elliott Hughes
2016-12-08Have make airlock just warn about missing commands unless $PEDANTIC is sent.Rob Landley
2016-12-08Workaround for Centos' "which" complaining if it can't find the commandRob Landley
(instead of just producing no output on stdout like everybody else).
2016-12-08Add DIRTREE_PROC to skip non-numeric entries and make ps/top etc use it.Rob Landley
2016-12-07Documentation tweak.Rob Landley
2016-12-07Thinko in recent longopt commit.Rob Landley
2016-12-07Change error test to actually exit if first attempt to use .config fails.Rob Landley
2016-12-07People keep wanting to cross-compile from macs, where the stock sed is broken.Rob Landley
So use $SED to indicate the sed to use, and set it to 'gsed' if available.
2016-12-07Bugfix: configuring out a longopt confused the option parsing.Rob Landley
(This made ls -l not work when LS_COLOR was off.)
2016-11-21Have dirtree_notdotdot() pass through !node->parent so . and .. on the commandRob Landley
line aren't filtered out. Audited all the callers and removed redundant calls, adjusted call sequence, etc. (And let rm _not_ do this, because posix.)
2016-11-19Bug report from Justin Cormack, tar was producing a warning to stdout thatRob Landley
screwed up "tar c" to stdout.
2016-11-18"printf %x 64" wasn't working right on 32 bit because a variable type was wrong.Rob Landley
2016-11-08Josh Gao pointed out that chmod -R . (and ..) didn't work.Rob Landley
2016-11-02Fix control flow integrity check failure in ps.Evgenii Stepanov
This fixes an indirect function call through a pointer of an incompatible type. See http://clang.llvm.org/docs/ControlFlowIntegrity.html for more details.
2016-10-30Implement "dmesg -w".Elliott Hughes
Annoyingly, this means writing a new dmesg implementation that uses /dev/kmsg rather than the klogctl system call. Worse, pre-3.5 kernels don't support that, so we need to keep the old implementation around as long as we still care about those kernels. Since I'm here, add the fancy colors from modern dmesg and the -C flag. Tested on Nexus 9's 3.10 kernel, an Ubuntu 3.13 kernel, and the Nexus One's 2.6.35 kernel.
2016-10-26Izabera pointed out that split -b -l are exclusive.Rob Landley
2016-10-25Add fallocate -o.Elliott Hughes
Also improve error reporting.
2016-10-24Android O allows '@' in property names.Elliott Hughes
Bug: http://b/32371104
2016-10-24Typos.Rob Landley
2016-10-22Tweak help text.Rob Landley
2016-10-20Announce 0.7.2.0.7.2Rob Landley
2016-10-20Nothing in pending should "default y".Rob Landley
2016-10-20Nothing in pending should "default y".Rob Landley
2016-10-20Close to cutting a release and I don't want to have setfattr in defconfigRob Landley
without getfattr, so I'm putting it back in pending for now.
2016-10-20Add special "touch -" behavior and require an argument.Rob Landley
2016-10-20Show driver for interface in ifconfig output.Rob Landley
2016-10-20Allow out and escout to be NULL in crunch_str()Rob Landley
2016-10-20Always regenerate config.h for now, so make single and make don't clash.Rob Landley
The problem is that .config and .singleconfig produce the same header file, so checking that the header is newer than the .config file won't help if it was last generated from the other file.
2016-10-19More touch tests, and a fix found by one. (The three -t formats can onlyRob Landley
reliably be distinguished by checking length, because %H amd %m and such can match different numbers of digits.)
2016-10-18Test infrastructure: collate make "test_single" and "make tests" into commonRob Landley
function, and add $C variable with an absolute path to the command being tested (you need to call things like printf by path to avoid shell builtins, might as well be consistent).
2016-10-18Add a printf test that shows a bug.Rob Landley
2016-10-18Unify touch -t and -d handling, allow posix's underspecified "time designator"Rob Landley
T to be a space instead (because the posix says so, no idea why), initialize default values reliably including zeroing daylight savings time field (which is handled inconsistently by libc and just screws stuff up).
2016-10-17A few more sed tests.Rob Landley
2016-10-17The recent --help infrastructure fiddling made "toybox --help unknown" segfaultRob Landley
because lookup failure left this->which NULL and error_exit() dereferenced it. (Oops.)
2016-10-12Stop renaming the ADDR field to PC on Android.Elliott Hughes
It's causing confusion, and it's not obvious that anyone's relying on it (and even if they are, let's try to find and fix them first).
2016-10-11Make netcat work with nommu and factor out poll() loop into net/net.c.Rob Landley
2016-10-09Izabera pointed out that ls defaults to -q when output is a tty.Rob Landley
2016-10-08Teach ps -w not to truncate any fields.Rob Landley
2016-10-08Evgenii Stepanov found a bug where argv0len was set wrong for threadsRob Landley
(no /proc/$PID/cmdline so setting was skipped and previous value retained), which led to memcpy() with an overlapping source/dest range (annoying asan). Fix: move temp variable and assignment outside the if() statement so we assign zero if we can''t read the file.
2016-10-05Explain some generic argument parsing features in toybox --help.Rob Landley
2016-10-04Explain dlist_terminate.Rob Landley
2016-10-03Updated Android roadmap.Elliott Hughes
Since we're actually getting close to the end of the toolbox list, expand the "other stuff" with everything that's currently in /system/bin that could reasonably be replaced by toybox (and remove things that might sound practical, but actually aren't). Also update the list of things being built from pending.
2016-10-03David Hedges pointed out that interface names can be longer than 10 chars.Rob Landley
2016-10-02Add install_airlock target for hermetic build environment setup, and rebuildRob Landley
headers during install to make other install targets robust against single command builds between "make" and "make install" of multiplexer version.
2016-10-01du: 32 bit systems were maxing out at 2GB when they should max out at 2TBRob Landley
(1<<32 blocks * 512 bytes, done with unsigned 64 bit math).
2016-10-01Move --version handling next to --help handling, so it applies to all commands.Rob Landley
Say "toybox" before version string. Tweak sed to preserve lie-to-autoconf.
2016-09-30sed -i run as root wasn't preserving ownership.Rob Landley
2016-09-29Accept extra ps arguments as additional pids.Elliott Hughes
POSIX says nothing, but traditional ps lets you say "ps 123" in addition to "ps -p 123". (You can mix and match too: "ps -p 123,124 666 667" works fine.) Bug: 31778761
2016-09-28Show thread names with "ps -T" on Android.Elliott Hughes
Android uses NAME rather than CMD by default, but that's not what we want with -T. Noticed because it broke systrace's reporting of thread names (see https://developer.android.com/studio/profile/systrace.html). Bug: 31741954