Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-13 | devmem: avoid sign extension. | Elliott Hughes | |
Bug: http://b/156292059 Signed-off-by: Wei Wang <wvw@google.com> | |||
2020-05-11 | route should be in sbin | Eric Molitor | |
2020-05-09 | Remove old scripts/minicom.sh and cleanup microcom.c a bit more. | Rob Landley | |
Use s# instead of atoi, meantion -s default in help text, use toybuf instead of stack buf, reuse i instead of declaring a separate ssize_t, FLAG() macro. | |||
2020-05-09 | Shrink sed --help from 150 lines to 91. | Rob Landley | |
2020-05-08 | Don't have -L forward stderr automatically, break out -E to do that. | Rob Landley | |
2020-05-08 | Inline do_main(), remove second argument of get_arg() that's always 0 | Rob Landley | |
(one caller fed in N_TTY which is 0). | |||
2020-05-08 | stty.c: fix interpreting output of stty -g | Ethan Sommer | |
move case checking for stty -g output as input above case checking for an int argument, so atoi doesn't cause "500:5:bf:8a3b:3"... to be considered an int argument of 500 | |||
2020-05-06 | Kill zombies. | Rob Landley | |
2020-05-06 | Minor doc tweaks. | Rob Landley | |
2020-05-05 | Link to bash man page. | Rob Landley | |
2020-05-05 | Remove leftover increment and move variable clear after error report. | Rob Landley | |
2020-05-04 | Restore error message for command not found, don't let ctrl-C kill shell. | Rob Landley | |
2020-05-03 | Fix "make root && chroot root/host/fs /init" with glibc host compiler. | Rob Landley | |
2020-05-03 | Next round of shell work. | Rob Landley | |
2020-05-01 | Minor cleanup. | Rob Landley | |
2020-04-28 | Remove unnecessary MAYFORK. | Rob Landley | |
2020-04-27 | Add gratuitous typecast to work around insane warning. | Rob Landley | |
(long is 32 bits on 32 bit systems, just use long already) | |||
2020-04-27 | Redo toysh variable expansion plumbing to start ${} (variable expansion can | Rob Landley | |
now return error), inline utf8spnc and merge_arg(), unify "break" logic, fix "continue" and "done; done", fix cd not to expand arguments twice | |||
2020-04-23 | fdisk: fix -Wsizeof-pointer-memaccess, switch to FLAG() macros | Ethan Sommer | |
2020-04-20 | patch: fix out of bounds memory access. | Elliott Hughes | |
On empty lines, we'd read one byte before the start of the buffer. | |||
2020-04-16 | cpio: fix tests by removing --trailer. | Elliott Hughes | |
f2866cf58a07c9d681ecd6695ea969ac70e59a3d fixed the cpio --trailer check as it claimed to, but doing so changed our behavior (since it used to be always-on and is now off unless you supply --trailer). This broke one of the cpio tests. Since I can't find any other cpio that has a --trailer option (or its inverse), this patch removes --trailer. This reverts our behavior to our old behavior (always include the trailer). Judging by the fact that the cpio tests pass with TEST_HOST=1, this seems to be the expected behavior. | |||
2020-04-16 | Promote rtcwake. | Rob Landley | |
2020-04-16 | Minor cleanup. | Rob Landley | |
2020-04-16 | Promote blkdiscard. | Rob Landley | |
2020-04-16 | Cleanup blkdiscard. | Rob Landley | |
2020-04-16 | Weed-whack a few warnings out of pending so allyesconfig is less noisy. | Rob Landley | |
2020-04-15 | fdisk: change sector_t to unsigned long long to fix -Wformat | Ethan Sommer | |
2020-04-15 | ip: appease clang warnings | Ethan Sommer | |
fix false positive -Wformat-security by passing string literal directly to error_exit, instead of assigning it to a variable and passing that fix -Wparentheses-equality by removing extra parentheses | |||
2020-04-15 | groupadd: fix -Wformat and switch to FLAG() macros | Ethan Sommer | |
2020-04-15 | Based on a patch from Ethan Sommer: silence warning and convert to FLAG() | Rob Landley | |
2020-04-15 | cpio: fix --trailer flag check, switch to FLAG() macros. | Ethan Sommer | |
2020-04-14 | shred: fix -z flag check, switch to FLAG() macros. | Ethan Sommer | |
2020-04-14 | Implement $'' | Rob Landley | |
2020-04-14 | Start of $- and set flags support. | Rob Landley | |
2020-04-13 | Humor asan. | Rob Landley | |
(ls would read from an uninitalized variable and never use the result because the test is afterwards, but asan freaks about impurity and unclean quantum state that's never observed or some such. You read uninitialized but definitely allocated stack memory into a REGISTER, and then performed an ADDITION on it to produce a result you never use! For SHAME!) | |||
2020-04-13 | Add unescape2(), migrate some unescape() users over. | Rob Landley | |
2020-04-12 | Minor cleanup. | Rob Landley | |
2020-04-12 | Fix sh -c 'CONSOLE="$(</sys"' segfault (don't advance twice after quote). | Rob Landley | |
2020-04-12 | Add shift and $[], fix exec. | Rob Landley | |
2020-04-09 | blkdiscard: new command | Patrick Oppenlander | |
2020-04-09 | Fix "else" loop. | Rob Landley | |
2020-04-08 | Implement ! and $$ and fix quoted "$(subshell)" | Rob Landley | |
2020-04-08 | md5sum: don't initialize a table we don't use. | Elliott Hughes | |
If you configure toybox with libcrypto, you don't need toybox to initialize its own table statically _or_ dynamically. | |||
2020-04-08 | ls: fix -h with block counts. | Elliott Hughes | |
The filter() function modifies st_blocks so it's always 1KiB rather than 512B blocks, but the human-readable output was still assuming 512B. This meant that `ls -sh` was showing figures half the size of `ls -s`, and that the "total" line with -h was also off by a factor of 2. No new test, because I don't know how to write one that would work on all file systems. Bug: http://b/153383721 | |||
2020-04-07 | Minor cleanup. | Rob Landley | |
2020-04-07 | Calculate table when float enabled, and rely on LP64 types. | Rob Landley | |
2020-04-07 | Use optc to detect end of arguments, because [ removes ] but doesn't zero it. | Rob Landley | |
2020-04-06 | Pass more tests, and detect ELF files (don't try to run them as shell scripts). | Rob Landley | |
Don't fall back to stdin if we can't find shell script on command line. | |||
2020-04-04 | Fix lifetime rules in bracket expansion. | Rob Landley | |
2020-04-02 | Move #include <linux/*.h> into individual commands, initialize struct | Rob Landley | |
with memset() instead of = {}, and move TT.alarm to local variable. |