Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-02 | Fix 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-30 | Implement "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-26 | Izabera pointed out that split -b -l are exclusive. | Rob Landley | |
2016-10-25 | Add fallocate -o. | Elliott Hughes | |
Also improve error reporting. | |||
2016-10-24 | Android O allows '@' in property names. | Elliott Hughes | |
Bug: http://b/32371104 | |||
2016-10-24 | Typos. | Rob Landley | |
2016-10-22 | Tweak help text. | Rob Landley | |
2016-10-20 | Announce 0.7.2.0.7.2 | Rob Landley | |
2016-10-20 | Nothing in pending should "default y". | Rob Landley | |
2016-10-20 | Nothing in pending should "default y". | Rob Landley | |
2016-10-20 | Close to cutting a release and I don't want to have setfattr in defconfig | Rob Landley | |
without getfattr, so I'm putting it back in pending for now. | |||
2016-10-20 | Add special "touch -" behavior and require an argument. | Rob Landley | |
2016-10-20 | Show driver for interface in ifconfig output. | Rob Landley | |
2016-10-20 | Allow out and escout to be NULL in crunch_str() | Rob Landley | |
2016-10-20 | Always 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-19 | More touch tests, and a fix found by one. (The three -t formats can only | Rob Landley | |
reliably be distinguished by checking length, because %H amd %m and such can match different numbers of digits.) | |||
2016-10-18 | Test infrastructure: collate make "test_single" and "make tests" into common | Rob 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-18 | Add a printf test that shows a bug. | Rob Landley | |
2016-10-18 | Unify 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-17 | A few more sed tests. | Rob Landley | |
2016-10-17 | The recent --help infrastructure fiddling made "toybox --help unknown" segfault | Rob Landley | |
because lookup failure left this->which NULL and error_exit() dereferenced it. (Oops.) | |||
2016-10-12 | Stop 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-11 | Make netcat work with nommu and factor out poll() loop into net/net.c. | Rob Landley | |
2016-10-09 | Izabera pointed out that ls defaults to -q when output is a tty. | Rob Landley | |
2016-10-08 | Teach ps -w not to truncate any fields. | Rob Landley | |
2016-10-08 | Evgenii Stepanov found a bug where argv0len was set wrong for threads | Rob 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-05 | Explain some generic argument parsing features in toybox --help. | Rob Landley | |
2016-10-04 | Explain dlist_terminate. | Rob Landley | |
2016-10-03 | Updated 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-03 | David Hedges pointed out that interface names can be longer than 10 chars. | Rob Landley | |
2016-10-02 | Add install_airlock target for hermetic build environment setup, and rebuild | Rob Landley | |
headers during install to make other install targets robust against single command builds between "make" and "make install" of multiplexer version. | |||
2016-10-01 | du: 32 bit systems were maxing out at 2GB when they should max out at 2TB | Rob Landley | |
(1<<32 blocks * 512 bytes, done with unsigned 64 bit math). | |||
2016-10-01 | Move --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-30 | sed -i run as root wasn't preserving ownership. | Rob Landley | |
2016-09-29 | Accept 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-28 | Show 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 | |||
2016-09-28 | Make setns depend on TOYBOX_CONTAINER probed value. | Rob Landley | |
2016-09-28 | Kernels between 2006 and 2010 (such as the one in Centos 6.6) provide unshare() | Rob Landley | |
but not nsenter(). So probe for both. | |||
2016-09-27 | Changed xopen_stdin() to xopen_stdio(). | Lipi C.H. Lee | |
2016-09-14 | Fix ls -lh. | Elliott Hughes | |
The recent refactoring broke ls -lh by multiplying all sizes by 0 rather than 1. | |||
2016-09-13 | Add ar archive support to file. | Elliott Hughes | |
2016-09-13 | Add -h and -L to file. | Elliott Hughes | |
On a toybox system, most of your bin directory is symbolic links. Bug: http://b/31294746 | |||
2016-09-11 | Izabera pointed out that "file -" was inconsistent (calling stat on "-" but | Rob Landley | |
then reading from stdin if it detected a file). Fixed it so "-" always means stdin and you have to say ./- to look at a local "-". Did some whitespace tweaks while I was there... | |||
2016-09-06 | Teach sed s/// how to handle [:space:] type sequences. | Rob Landley | |
Or more accurately, s@[[:space:]@]@replace@ which can't treat the @ in [] as a delimiter but has to know about nested [[]] to make that decision. | |||
2016-09-05 | Replace loopfiles' failok with WARN_ONLY open flag. | Rob Landley | |
2016-09-05 | Export notstdio() wrapper. | Rob Landley | |
2016-09-05 | Fluff up cmp tests. | Rob Landley | |
2016-09-04 | make test_cmp caused the make invocation to exit with an error because the | Rob Landley | |
last test exited with nonzero status and the script preserved it. In the current context, that's counterproductive. | |||
2016-09-04 | Add comment so I don't undo and then redo a thing again. | Rob Landley | |
2016-09-04 | Remove a chunk of copied header that hasn't been upated in a while. | Rob Landley | |