Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2016-09-04 | Add openro() and WARN_ONLY flag so xopen() and friends can warn without exiting. | Rob Landley | |
2016-09-04 | Switch help.c from #ifdef to if() | Rob Landley | |
2016-09-03 | Move genericish function to lib. | Rob Landley | |
2016-08-28 | Add tap support to tunctl. | Rob Landley | |
2016-08-27 | Make "LC_ALL=C ls -Cs --color" produce the same output on toybox and ubuntu. | Rob Landley | |
(Two spaces padding between columns, and -k is hardwired on.) | |||
2016-08-27 | Remove some redundancy and unnecessary xprintf(). | Rob Landley | |
(We should use xprintf and similar to flush and check if stdout went away once per line. No point flushing partway through a line, so in ls only use it on things outputting a newline char.) | |||
2016-08-27 | Fix ls -sh. | Elliott Hughes | |
-h should apply to -s too. (Previously it only applied to the "total" line in -s output.) | |||
2016-08-25 | Add chrt to pending. | Elliott Hughes | |
Requested by a Google team whose product is based on Android. | |||
2016-08-22 | Add tunctl. | Rob Landley | |
2016-08-21 | A round of dd cleanup. | Rob Landley | |
2016-08-20 | Promote setfattr | Rob Landley | |
2016-08-20 | Clean up setfattr. | Rob Landley | |
2016-08-18 | Change xgetpwnamid/xgetgrnamid to xgetuid/xgetgid returning the id number | Rob Landley | |
instead of a struct. This means it can return "12345" even if that user/group doesn't exist in /etc/passwd and similar. All the users were immediately dereferencing it to get pw_uid or gr_gid anyway, so just return it directly and adjust the users. This fixes things like "chown 12345:23456 filename". | |||
2016-08-16 | Add length modifier to date escapes, and length sanity check. | Rob Landley | |
2016-08-15 | Make "stat -c %37G file" and "stat -c %.5G file" work, and fix %U and %G to | Rob Landley | |
not segfault on a lookup failure (they print the number instead of UNKNOWN). The whitespace in the default output may need some adjusting. | |||
2016-08-14 | Explain shared library policy, fix an unblanaced tag, add some links. | Rob Landley | |
2016-08-13 | Document deviations from posix for echo. | Rob Landley | |
2016-08-13 | Add TOYFLAG_NOHELP to disable --help processing for individual commands, | Rob Landley | |
apply it to "true" and "false". | |||
2016-08-13 | Move getusername/getgroupname to lib. (Return name or string representation | Rob Landley | |
of number, but never NULL. Both returned in static buffer good through next call.) | |||
2016-08-11 | Matthias Urhahn pointed out that %b returns hardwired 512 byte units | Rob Landley | |
(man 2 stat says so) and %B is the units on %b (I.E. always 512), so change output and help text. This matches what other implementations produce. | |||
2016-08-06 | Inline setup_inout(), test ftruncate() return value, move gettimeofday() before | Rob Landley | |
seek so seek time is included in total. | |||
2016-08-04 | Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout, | Rob Landley | |
add xopenro() that takes one argument and understands "-" means stdin, and switch over lots of users. | |||
2016-08-02 | Fix warning: 'XATTR_NAME_SMACK' macro redefined. | Elliott Hughes | |
Recent Linux uapi <linux/xattr.h> headers define XATTR_NAME_SMACK. The <sys/xattr.h> include at the top of lib/lsm.h means that even though the direct include of <linux/xattr.h> is guarded, it may have already happened transitively anyway. (The alternative fixes would be to hard-code the correct value for XATTR_NAME_SMACK here instead, or #undef XATTR_NAME_SMACK.) | |||
2016-08-01 | Fix touch(1) date parsing on tzcode-derived systems. | Elliott Hughes | |
The IANA tzcode implementation of mktime (used on Android and BSDs) sets errno in some cases where it doesn't return -1 to indicate failure, so the existing test always failed on those systems. I don't think glibc ever sets errno (which is fine by ISO C, but not POSIX). Other uses of mktime in toybox are already fine. This one would have been caught by the existing tests if I was running them on the device :-( | |||
2016-07-30 | Single builds skip commands with 0 in the install location so | Rob Landley | |
"make test_scankey" didn't work. | |||
2016-07-29 | Izabera reporeted that FLAG_v was never checked in timeout. (Oops.) | Rob Landley | |
2016-07-26 | Move regexec0 into lib (regexec that takes length and matches after NUL). | Rob Landley | |
2016-07-23 | Usischev Yury pointed out that id shouldn't use exit() directly. | Rob Landley | |