Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2017-06-12 | Add grep -M match and -S skip supporting wildcard patterns. | Rob Landley | |
They don't imply -r because you might do find . -type f | xargs -S blah regex | |||
2017-06-11 | Provide error messages for files we can open but not read (ala directories). | Rob Landley | |
2017-06-10 | Fix bug where grep stopped at first dangling symlink and error_exited(). | Rob Landley | |
2017-06-04 | Don't add cpio TRAILER!!! entry by default, add new --trailer option if you | Rob Landley | |
want that. (This lets you concatenate cpio archives with "cat". Kernel's initramfs extractor doesn't need it.) | |||
2017-05-28 | teach head -v and -q | Ilya Kuzmich | |
Not POSIX, but implemented in coreutils and busybox. Tests use sed to compensate for the stdin naming difference. Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com> | |||
2017-05-27 | Replace two space indents with tab indents in help text (for consistency). | Rob Landley | |
2017-05-26 | Be more consistent about periods in help text. | Elliott Hughes | |
2017-05-25 | Add -0 to env. | Rob Landley | |
2017-05-25 | Teach env that - as first argument means -i for some reason. (Posix!) | Rob Landley | |
2017-05-24 | Add and use xmmap. | Elliott Hughes | |
Everyone forgets that mmap returns MAP_FAILED rather than NULL on failure. Every use of mmap in toybox was either doing the wrong check, or no check at all (including the two I personally added). | |||
2017-05-19 | Implement date %N, loosely inspired by Elliott Hughes's patch. | Rob Landley | |
I didn't implement %37N's ability to insert zeroes, so removed those two tests. If you really need it, I can add the divide loop back. | |||
2017-05-08 | Move strend() to lib/lib.c | Rob Landley | |