Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-10 | find: improve -context behavior on failure. | Elliott Hughes | |
2019-03-10 | Add missing isatty(3) call. | Elliott Hughes | |
2019-03-10 | Do a rm -rf of testdir between each command so debris files don't accumulate. | Rob Landley | |
2019-03-10 | Make xsendfile() variants handle -1 length properly again. | Rob Landley | |
2019-03-10 | install.c doesn't include the standard headers so hasn't got ARRAY_LEN() | Rob Landley | |
2019-03-10 | Don't redirect stderr or xexec() error hidden. | Rob Landley | |
2019-03-10 | Make multiple sendfile variants, and teach xpopen_both() to use existing | Rob Landley | |
stdin/stdout filehandles. | |||
2019-03-09 | Cosmetic tweak. | Rob Landley | |
2019-03-09 | find: add -context. | Elliott Hughes | |
Tested manually on an Android device with: adb shell find /system -context u:object_r:wait_for_keymaster_exec:s0 adb shell find /system/bin -context '"*key*"' adb shell find /system/bin -context '"*tool*"' | |||
2019-03-09 | file: add c-sky ELF machine. | Elliott Hughes | |
It's in the Linux 5 kernel headers. If, like me, you'd never heard of it: https://www.phoronix.com/scan.php?page=news_item&px=C-SKY-Approved-Last-Arch | |||
2019-03-09 | Half-finished su change checked in, sorry. | Rob Landley | |
2019-03-07 | Add reset_env() and make su and login use it. Do long-delayed login cleanup. | Rob Landley | |
2019-03-06 | More tar cleanup. | Rob Landley | |
Dear gcc: if (i || node=blah) x = i ? blah : node; Don't complain "node may be used uninitialied", it can't be. That warning is a gcc bug. (I should add a node = node to the initialiation to shut up the warning, but gcc has failed to emit "may be used uninitialized" reliably for 15 years and it still does.) | |||
2019-03-04 | More tar cleanup. | Rob Landley | |
2019-03-04 | Don't print (null) in error messages. | Rob Landley | |
2019-03-04 | Consistently use ARRAY_LEN. | Elliott Hughes | |
2019-03-03 | Doc tweak. | Rob Landley | |
2019-03-03 | Cleanup pass on tar. | Rob Landley | |
2019-03-02 | Make top -H show TID instead of PID, not collate %CPU into parent thread | Rob Landley | |
(resulting in 400% CPU with 4 threads), and add a couple comments. | |||
2019-03-02 | Promote devmem. | Rob Landley | |
2019-03-02 | Improve help consistency. | Elliott Hughes | |
More consistent tense, capitalization, and punctuation. A few commands were missing an introductory line, so I copied those from the first comment line. | |||
2019-03-02 | Fix instances of "Usage:" rather than "usage:". | Elliott Hughes | |
2019-03-02 | devmem: new command. | Elliott Hughes | |
Intended to replace Android's toolbox `r`, but behaving more like a drop-in replacement for busybox's `devmem`. | |||
2019-03-01 | William Djupström pointed out we need to chown() the tty. | Rob Landley | |
Do the FLAG() and short argument variable cleanups while we're there. | |||
2019-03-01 | Yes it's a one instruction race, but it bothers me. | Rob Landley | |
2019-03-01 | Minor tweaks. | Rob Landley | |
2019-02-27 | top: fix -b. | Elliott Hughes | |
We hadn't updated the output in -b mode ever since I broke this in 2016. Bug: http://b/126347053 "top doesn't seem to update the output when run in batch mode (-b)" | |||
2019-02-25 | arp: inline get_hw_add and minor sscanf error handling cleanup | Colin Davidson | |
2019-02-24 | grep: add missing long synonyms used in AOSP. | Elliott Hughes | |
2019-02-24 | A document I wrote ages ago about how mount works under the covers. | Rob Landley | |
2019-02-23 | One last (for now) typo. | Elliott Hughes | |
This one actually introduced by my last cleanup. (But helpfully pointed out by the machines when I tried to upload my last cleanup to the AOSP gerrit...) | |||
2019-02-23 | Add UUID= support to mount, via blkid -U. | Rob Landley | |
2019-02-23 | Add blkid -U and -L. | Rob Landley | |
2019-02-23 | Promote mcookie | Rob Landley | |
2019-02-23 | Cleanup mcookie. | Rob Landley | |
2019-02-23 | Here's an 'mcookie' implementation for toybox. | Isaac Dunham | |
mcookie simply prints out 16 bytes of entropy in hexadecimal; it is typically used as the source for the "MIT magic cookies" that X11 uses for "secure" connections. The only implementation I know of is in util-linux; the problems with its documented behavior motivated me to write an alternate implementation. Specifically, getting 128 bytes from the kernel and finding the MD5 sum is not a sane PRNG, especially when only 16 bytes are needed. | |||
2019-02-23 | Bumper typo cleanup. | Elliott Hughes | |
Inspired by some of the small patches that have gone by recently. Limited to only things found in `generated/help.h`, plus a wider cleanup for the more common "milisecond" typo. | |||
2019-02-23 | Switch losetup to short arg var style and force typecasts for printf. | Rob Landley | |
2019-02-23 | Switch mount to use FLAG() macros. | Rob Landley | |
2019-02-21 | Fix typo in help | Kevin van der Kamp | |
2019-02-21 | getfattr: add --only-values. | Elliott Hughes | |
Needed to improve cp(1) testing. | |||
2019-02-20 | Exit code should indicate _which_ signal oneit's exiting due to. | Rob Landley | |
2019-02-20 | Simplify netcat a lot using the net.c upgrades from last commit. | Rob Landley | |
2019-02-20 | Make xgetaddrinfo() return a wildcard address for NULL host, and xconnbind() | Rob Landley | |
always set SO_REUSEADDR (which won't reuse an active port but merely disables the strange "but reply packets might come in after we close the socket" hand-wringing timeout nobody's cared about in decades.) | |||
2019-02-20 | Minor cleanups, mostly wordwrapping. | Rob Landley | |
2019-02-19 | grep: add --quiet and --silent synonyms for -q. | Elliott Hughes | |
--quiet is used 3x more than --silent in my corpus, but they're both used surprisingly often. (Surprising to someone who thinks -q is part of the core set of grep options that "everybody knows".) | |||
2019-02-18 | route: fix command argument parsing | Uros Prestor | |
2019-02-17 | top: make the task/thread count add up. | Elliott Hughes | |
Linux has more states than we were giving it credit for, which led to our numbers not adding up. Since the exact details seem to change between versions, and since having code specific to each kernel version is unattractive, go with the heuristic that there are relatively fewer "stopped" states (and they change less frequently), so all unknowns are "sleeping". | |||
2019-02-16 | Disallow -o "" in top. | Rob Landley | |
2019-02-16 | top: differentiate tasks (processes) and threads in the header. | Elliott Hughes | |