Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-02 | Convert more ps help text to two columns. | Rob Landley | |
2018-05-27 | Teach "file -" to recognize ELF files, add bounds checking and comments. | Rob Landley | |
2018-05-06 | Support fractional seconds (and other time units) in `top -d`. | Elliott Hughes | |
LTP uses `top -d 0.1`, which isn't convincingly useful, but general support for other time units might be useful, and switching to xparsetime addresses both at once. Also fix 3169d948c049664bcf7216d4c4ae751881099d3e where I mistakenly treated `rev` and `toys.optflags&FLAG_b` as interchangeable. (Without this second fix, `top -b` looks fine but `top` is broken!) Also fix xparsetime to reject input such as "monkey" or "1monkey". | |||
2018-04-23 | Don't include spurious '\r's in `top -b` output. | Elliott Hughes | |
2018-04-18 | Add the flags linux kernel build checks for. | Rob Landley | |
2018-04-13 | Add getconf. | Rob Landley | |
2018-04-12 | Fix "cp -p" doesn't preserve timestamps bug | Minghui Liu | |
2018-04-08 | Add cp --parents | Rob Landley | |
2018-04-08 | Add mkpath() for common case of mkpathat(), and #define magic constants. | Rob Landley | |
2018-03-19 | Ryan Prichard pointed out that du -d0 should act like du -s, but the plumbing | Rob Landley | |
wouldn't let him assign a negative default value, so I fixed it. | |||
2018-02-22 | Bugfix, facility values are <<3 in the headers. | Rob Landley | |
2018-02-18 | Work around a musl-libc bug that has facilitynames/prioritynames in headers | Rob Landley | |
but then the link fails. | |||
2018-02-10 | Fix ps -T again, but this time read files from tid directory, not pid. | Rob Landley | |
(Otherwise updating pid to parents makes threads read thread parent data.) | |||
2018-02-10 | Rename struct strawberry -> struct ofields, and carveup -> procpid. | Rob Landley | |
The first contains display fields selectable by the -o argument, the second contains the /proc/$PID data for one process. | |||
2018-02-09 | Andreas Gampe suggested a different fix. | Rob Landley | |
(Bionic _does_ do the malloc(0)!=0 thing, the problem is pedantic access checking, not null dereference. So test count instead.) | |||
2018-02-08 | Thinko pointed out by Andreas Gampe (causing segfaults in top, oops). | Rob Landley | |
2018-02-04 | Add crc32. | Rob Landley | |
In cksum, make -H pad with leading zeroes to 8 chars, don't output len with -N, and don't output filename with zero arguments. | |||
2018-01-24 | Revert the ps -T thing until I understand what Elliott wants. | Rob Landley | |
2018-01-15 | Fix "ps -T 1234" to show thread belonging to that PID. | Rob Landley | |
2018-01-15 | Merge shared_main() back into ps_main() and top_main(), add comments. | Rob Landley | |
2018-01-15 | Add more comments to ps. | Rob Landley | |
2018-01-06 | Move millitime() into lib.c. | Rob Landley | |
2018-01-01 | Promote logger, and fluff up help text a bit. | Rob Landley | |
2017-12-29 | Promote iconv. | Rob Landley | |
2017-12-26 | Fix xargs -0 with -n. | Elliott Hughes | |
Also make -0 and -E mutually exclusive (rather than just ignore -E with -0). Bug: https://github.com/landley/toybox/issues/78 | |||
2017-12-11 | An incomplete list of deviations from posix (it's a start). | Rob Landley | |
2017-11-26 | Recognize sh/frv fdpic, and add types for bpf and new microblaze. | Rob Landley | |
2017-11-26 | Use endianness info to read executable type. | Rob Landley | |
2017-11-23 | Add "time -v". | Elliott Hughes | |
This shows the other fields in getrusage. I've chosen to only show the ones actually maintained by Linux. | |||
2017-11-21 | Make find -exec + obey ARG_MAX just like xargs. | Elliott Hughes | |
This isn't ideal, but it matches xargs and none of us is likely to have time to do the best possible thing any time soon. Bug: http://b/65818597 Test: ./toybox find /usr/local/google/ndkports/ -exec echo {} + | |||
2017-11-16 | Minor tweaks. | Rob Landley | |
2017-11-16 | Add "df -i". | Elliott Hughes | |
Also switch to u64 for calculations. Some FUSE file systems have inode counts large enough to overflow s64. | |||
2017-11-03 | file(1): add ogg, TrueType font, LLVM bitcode, PEM certs, and PE executables. | Elliott Hughes | |
More of the files encountered on the Android system image (plus PE executables, which we build but which shouldn't actually make it to the system image!). | |||
2017-10-31 | Add top -m, fix width truncating for narrow screens (off by one), and add ↵ | Rob Landley | |
iotop -H | |||
2017-10-31 | Fix cut -s and -f when delimiter not found (posix says print whole line). | Rob Landley | |
2017-10-25 | Make -c work with unicode chars, and first stab at -C measuring columns. | Rob Landley | |
2017-10-17 | Fix groups(1) and id -G. | Elliott Hughes | |
Both should only output the groups. | |||
2017-10-10 | Complete rewrite of cut. Handle multipe ranges, add -DFO options, start | Rob Landley | |
of utf8 support (not finished yet)... Adds new loopfiles_lines() wrapper to lib.c that calls do_lines from loopfiles. | |||
2017-10-01 | Fix xargs to obey POSIX's ARG_MAX restrictions. | Elliott Hughes | |
This avoids "xargs: exec echo: Argument list too long" errors in practice. find(1) needs to be fixed too, but that's a bit more complicated and a working xargs provides a workaround. Bug: http://b/65818597 Test: find /proc | strace -f -e execve ./toybox xargs echo > /dev/null | |||
2017-09-25 | Basic Mach-O support in file(1). | Elliott Hughes | |
The Nexus Player build was subtly broken in that it assumed that the host was using ELF. No-one noticed until a Mac user tried to flash their build, which contained a Mach-O x86 binary instead of an ELF x86 binary. Hilarity ensued. (On the same day, file(1) was able to explain a mixup with an ELF hexagon binary. Next time we see a Mach-O binary on an Android device, we'll be ready!) Bug: http://b/66741960 | |||
2017-09-05 | Replace remaining mb*towc() calls with utf8towc(). | Rob Landley | |
2017-09-02 | In wc, replace mbrtowc() with new utf8towc() which doesn't have a context struct | Rob Landley | |
or care about locale. | |||
2017-08-31 | Another try at fixing the ps segfault resulting from /proc entries vanishing | Rob Landley | |
out from under us due to asyncronous process exit. The directory we're traversing vanishing can result in DIRTREE_ABORTVAL being returned, which we turn into a NUL entry, but then we were trying to look at that null entry's children. Oops. | |||
2017-07-22 | Typo (env -0 was checking the flag wrong). | Rob Landley | |
2017-07-02 | Add -t, deviations from posix, redo loop to have fewer duplicate tests. | Rob Landley | |
2017-07-02 | strings tests and bugfixes | Ilya Kuzmich | |
Fixes missing newline in output if last byte of the input is string. Fixes one-off offset bug. Adds strings tests. Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com> | |||
2017-06-27 | whitespace/comment tweaks. | Rob Landley | |
2017-06-27 | teach head -c | Ilya Kuzmich | |
Not POSIX, but implemented in coreutils, busybox and freebsd. | |||
2017-06-19 | Manually inline TOP_COMMON and PGKILL_COMMON help text until I can teach | Rob Landley | |
the help infrastructure to handle it. (The lifetime rules are all wrong for hunks that get reused. Needs a largeish rewrite.) | |||
2017-06-14 | Grep exits with 2 for errors, which can happen at any time ( > /dev/full). | Rob Landley | |