Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-05 | Make gzip/zcat use lib/deflate.c when not using zlib, and inline fix_time(). | Rob Landley | |
2018-08-04 | Fix modprobe error handling. | Elliott Hughes | |
modprobe was failing if you `modprobe a.ko`, then `modprobe b.ko` where b.ko depends on a.ko --- b.ko will fail to load because a.ko is already loaded. The code to handle this was incorrectly checking `rc` rather than `errno` against EEXIST. (We should pull the insmod.c equivalent of `ins_mod` out into lib/ and reuse it in modprobe.c, but I didn't want to get bogged down.) Bug: https://issuetracker.google.com/112069618 Reported-by: Wen Xie <xiewen3@motorola.com> | |||
2018-08-04 | wc: fix the column width heuristics even further. | Elliott Hughes | |
This was found by https://kernel.googlesource.com/pub/scm/linux/kernel/git/shuah/linux-kselftest/+/master/tools/testing/selftests/splice/default_file_splice_read.sh which broke after the recent change. Plus this actually fixes another of our existing test failures on the host. I'm assuming we don't want to try the "exact fit" heuristics until we have a concrete need for them. (I haven't fully understood the circumstances under which they're used, though the two remaining host test failures appear to be because of them.) Bug: http://b/111891791 Test: ran tests | |||
2018-08-04 | Add tests for grep with implicit/explicit BREs and explicit EREs. | Elliott Hughes | |
This is in POSIX, but pcre2grep gets it wrong (https://bugs.exim.org/show_bug.cgi?id=2294). | |||
2018-08-04 | file: slightly improve .class, add .dex. | Elliott Hughes | |
2018-08-03 | Typo. | Rob Landley | |
2018-08-03 | xgetrandom: use getrandom result if it succeeds | Patrick Oppenlander | |
2018-08-03 | Don't include toys.h and lib/*.c in config2help.c, the host vs cross compiler | Rob Landley | |
build context (probes for portability.h) is too fiddly to keep stright, just copy the parts we need into the host tool. | |||
2018-08-03 | configure: fix typo | Francesco Valla | |
2018-08-03 | Fix error message pointed out by Reverend Homer. | Rob Landley | |
2018-08-02 | Move pending/compress.c to lib/deflate.c, first pass at genericizing it. | Rob Landley | |
2018-07-28 | Check for integer overflow in pathologically broken elf files by moving the | Rob Landley | |
sh_size>file length test inside the loop and changing the vars to unsigned. | |||
2018-07-19 | Tweak/add some comments. | Rob Landley | |
2018-07-18 | ps.c cleanups after help text reshuffle. | Rob Landley | |
2018-07-18 | Factor out "ps -o help" to show fields, move help text into -o type array, | Rob Landley | |
add comments to get_ps(). | |||
2018-07-13 | diff: fix build with -Wformat=security. | Elliott Hughes | |
The problem with testing changes on my desktop is that they won't always compile when I try to sync AOSP... | |||
2018-07-13 | Fix typo in a macro name | Konst Mayer | |
2018-07-09 | Fix wc column widths. | Elliott Hughes | |
2018-07-08 | Fix ping -w and -W, fix ping -c with no reply (kept sending while waiting), | Rob Landley | |
and trim -W default to 3 seconds (so "time ping 1.2.3.4" says 5 seconds). | |||
2018-07-08 | Fix division by zero errors and double summary in ping. | Rob Landley | |
2018-07-06 | Bionic ships newer libc with older kernels, so Android needs to fallback at | Rob Landley | |
runtime for ENOSYS. | |||
2018-07-04 | Add xgetrandom() with probe for new system call (else open/read /dev/{,u}random) | Rob Landley | |
2018-07-04 | diff: add timestamps to the ---/+++ lines and --color. | Elliott Hughes | |
(My apologies for mixing these two unrelated changes up.) | |||
2018-07-02 | Dereference one layer of symlink in multiplexer on lookup failure, so you can | Rob Landley | |
"ln -s gsed sed" or similar if you need to use nonstandard names for things. | |||
2018-07-02 | Fix bugs in yesterday's bufgetgrgid() work (reported by Elliott). | Rob Landley | |
2018-06-30 | Loop retrying larger allocation sizes for bufgetpwuid/bufgetgrgid. | Rob Landley | |
Slightly tweaked version of Elliott's patch. We probably only need to do this for groups (struct group * has a list of users that belong to it, but struct passwd doesn't, getgrouplist() is separate) but keeping the code of the two similar in case there's a way to merge them later. | |||
2018-06-29 | Cleanup pass on passwd, needs more testing. | Rob Landley | |
2018-06-28 | stat: `stat -f` uses %T rather than %t. | Elliott Hughes | |
(At least for coreutils 8.28.) | |||
2018-06-28 | stat: fix %a in default output. | Elliott Hughes | |
`stat -c %a` doesn't output a leading zero, but `stat` does. | |||
2018-06-28 | stat: remove hideous GNUism. | Elliott Hughes | |
Even GNU coreutils 8.28 doesn't use the lopsided `quoting' any more. | |||
2018-06-28 | Tweak help text to clarify time fields are access/modification/creation time. | Rob Landley | |
2018-06-26 | The prlimit probe broke when implicit function declarations became an error | Rob Landley | |
(see comment in ulimit.c about the glibc header bug), so copy prototype into the probe too. Without this ulimit always disabled by config probe. | |||
2018-06-23 | Add a couple more fmt tests. | Rob Landley | |
2018-06-23 | News and version update for 0.7.7 release.0.7.7 | Rob Landley | |
2018-06-21 | Elliott pointed out that ping's been promoted, not needed in airlock list. | Rob Landley | |
2018-06-21 | Promote fmt to other | Rob Landley | |
2018-06-21 | Tweak fmt width calculation. | Rob Landley | |
2018-06-20 | Redo of fmt.c around loopfiles_lines() and understanding tab indents. | Rob Landley | |
2018-06-19 | The kernel's old kconfig had _shipped files, the new one should too, but until | Rob Landley | |
then install bison and flex. (Not yacc and lex, the kernel build is calling the propreitary versions.) | |||
2018-06-14 | More cut tests. | Rob Landley | |
2018-06-14 | Fix cut -DF as awk replacement by not matching delimiterless lines with -D | Rob Landley | |
2018-06-14 | Change do_lines() semantics to end with a callback(0,0) to indicate EOF, | Rob Landley | |
adjusting existing users. | |||
2018-06-14 | I tend to put extra parentheses around & because its precedence being slightly | Rob Landley | |
wonky was Dennis Ritche's one public regret about C (see https://www.lysator.liu.se/c/dmr-on-or.html). | |||
2018-06-14 | ping: support ping6 as a synonym for `ping -6`. | Elliott Hughes | |
Sadly, this is what existing scripts seem to do. | |||
2018-06-13 | ping: add -m, switch to xsetsockopt. | Elliott Hughes | |
Bug: http://b/28027677 toybox ping doesn't support -m mark Test: strace -e setsockopt ./toybox ping -c 1 -m 0x1000 127.0.0.1 | |||
2018-06-12 | top: remove flicker in interactive mode. | Elliott Hughes | |
2018-06-12 | top: running processes are shown in bold. | Elliott Hughes | |
2018-06-12 | Add tests for file stdin behavior. | Elliott Hughes | |
2018-06-11 | Promote ping to toys/net | Rob Landley | |
2018-06-11 | Fix ping -f, add summary section, yank TOYFLAG_ROOTONLY. | Rob Landley | |
Traditional "ping flood" would be "ping -fi0 -c0" but we require root for -i<.2 |