Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-04 | First stab at ftpget/ftpput. (Documents a lot of options other than basic | Rob Landley | |
upload/download that aren't implemented yet.) | |||
2017-01-04 | Some lib fixes: mark xvfork() noinline, make xsendfile() return bytes copied, | Rob Landley | |
make xsocket()'s returned fd CLOEXEC. | |||
2017-01-04 | An option can't exclude itself, so "abc[-ab][!abc]" with "command -a -b" | Rob Landley | |
shouldn't segfault falling off the end of the list trying to report a nonexistent error condition. | |||
2017-01-02 | Alas, the backup list archive went down because https://lwn.net/Articles/695695/ | Rob Landley | |
and although it was partially restored by https://lwn.net/Articles/699704/ that didn't include this list. | |||
2016-12-30 | Remove unnecessary casts in stat.c, fix a claimed buffer length. | Elliott Hughes | |
POSIX does have a name for the struct timespec in struct stat. | |||
2016-12-28 | Stop lying to the compiler in modprobe's read_line. | Elliott Hughes | |
sizeof(int) != sizeof(size_t) for LP64, leading to hilarity^Wcrashes. | |||
2016-12-28 | Admit that getprop requires selinux. | Elliott Hughes | |
The "lsm" portability stuff could abstract this away, but Android doesn't need it, and getprop is meaningless on non-Android. (And if you're just building with the NDK, on recent enough versions of Android you won't be able to read most of the system properties anyway because access to them is increasingly restricted by selinux.) | |||
2016-12-28 | Switch to bionic <sys/system_properties.h>. | Elliott Hughes | |
Removes the dependency on libcutils for everything except ps. | |||
2016-12-26 | Move hostid to toys/example and have it "default n". | Rob Landley | |
A "globally unique 32 bit number" is a concept the Linux world has outgrown. | |||
2016-12-26 | log: use error_msg instead of perror_msg when errno is meaningless. | Elliott Hughes | |
2016-12-25 | Add test for last sort commit. | Rob Landley | |
2016-12-25 | Fix a bug for sort. When the key_separator is not space, the sort ↵ | wxj | |
commandline tool fails to sort by the 3rd,4th,etc column. For example: when you exec $ sort -t',' -k 3n on a file which cotains: 1,2,3,4 2,3,4,1 4,1,2,3 3,4,1,2 you got: 4,1,2,3 1,2,3,4 2,3,4,1 3,4,1,2 but the expected output should be: 3,4,1,2 4,1,2,3 1,2,3,4 2,3,4,1 The bug is due to the dependency of "isspace(str[end])" at line 113. When searching for the non-space key_separator, the search stopped just at the position of first key_separator it met. The bug can be easily fixed by adding "end++" when the search have found one separator and exit the for loop. | |||
2016-12-24 | Cleanup: Have get_hostname() handle its own lookup failures. Inline is_prefix(). | Rob Landley | |
Kernel can handle 64k maximum segment size. | |||
2016-12-20 | Add units for -atime and friends. (Also legacy -amin alias, but not in help text | Rob Landley | |
because there's no -asec or -ahour.) | |||
2016-12-11 | First cleanup pass on new dmesg. | Rob Landley | |
2016-12-09 | Pass DIRTREE_PROC through the ps callbacks. | Elliott Hughes | |
2016-12-08 | Have make airlock just warn about missing commands unless $PEDANTIC is sent. | Rob Landley | |
2016-12-08 | Workaround for Centos' "which" complaining if it can't find the command | Rob Landley | |
(instead of just producing no output on stdout like everybody else). | |||
2016-12-08 | Add DIRTREE_PROC to skip non-numeric entries and make ps/top etc use it. | Rob Landley | |
2016-12-07 | Documentation tweak. | Rob Landley | |
2016-12-07 | Thinko in recent longopt commit. | Rob Landley | |
2016-12-07 | Change error test to actually exit if first attempt to use .config fails. | Rob Landley | |
2016-12-07 | People keep wanting to cross-compile from macs, where the stock sed is broken. | Rob Landley | |
So use $SED to indicate the sed to use, and set it to 'gsed' if available. | |||
2016-12-07 | Bugfix: configuring out a longopt confused the option parsing. | Rob Landley | |
(This made ls -l not work when LS_COLOR was off.) | |||
2016-11-21 | Have dirtree_notdotdot() pass through !node->parent so . and .. on the command | Rob Landley | |
line aren't filtered out. Audited all the callers and removed redundant calls, adjusted call sequence, etc. (And let rm _not_ do this, because posix.) | |||
2016-11-19 | Bug report from Justin Cormack, tar was producing a warning to stdout that | Rob Landley | |
screwed up "tar c" to stdout. | |||
2016-11-18 | "printf %x 64" wasn't working right on 32 bit because a variable type was wrong. | Rob Landley | |
2016-11-08 | Josh Gao pointed out that chmod -R . (and ..) didn't work. | Rob Landley | |
2016-11-02 | Fix control flow integrity check failure in ps. | Evgenii Stepanov | |
This fixes an indirect function call through a pointer of an incompatible type. See http://clang.llvm.org/docs/ControlFlowIntegrity.html for more details. | |||
2016-10-30 | Implement "dmesg -w". | Elliott Hughes | |
Annoyingly, this means writing a new dmesg implementation that uses /dev/kmsg rather than the klogctl system call. Worse, pre-3.5 kernels don't support that, so we need to keep the old implementation around as long as we still care about those kernels. Since I'm here, add the fancy colors from modern dmesg and the -C flag. Tested on Nexus 9's 3.10 kernel, an Ubuntu 3.13 kernel, and the Nexus One's 2.6.35 kernel. | |||
2016-10-26 | Izabera pointed out that split -b -l are exclusive. | Rob Landley | |
2016-10-25 | Add fallocate -o. | Elliott Hughes | |
Also improve error reporting. | |||
2016-10-24 | Android O allows '@' in property names. | Elliott Hughes | |
Bug: http://b/32371104 | |||
2016-10-24 | Typos. | Rob Landley | |
2016-10-22 | Tweak help text. | Rob Landley | |
2016-10-20 | Announce 0.7.2.0.7.2 | Rob Landley | |
2016-10-20 | Nothing in pending should "default y". | Rob Landley | |
2016-10-20 | Nothing in pending should "default y". | Rob Landley | |
2016-10-20 | Close to cutting a release and I don't want to have setfattr in defconfig | Rob Landley | |
without getfattr, so I'm putting it back in pending for now. | |||
2016-10-20 | Add special "touch -" behavior and require an argument. | Rob Landley | |
2016-10-20 | Show driver for interface in ifconfig output. | Rob Landley | |
2016-10-20 | Allow out and escout to be NULL in crunch_str() | Rob Landley | |
2016-10-20 | Always regenerate config.h for now, so make single and make don't clash. | Rob Landley | |
The problem is that .config and .singleconfig produce the same header file, so checking that the header is newer than the .config file won't help if it was last generated from the other file. | |||
2016-10-19 | More touch tests, and a fix found by one. (The three -t formats can only | Rob Landley | |
reliably be distinguished by checking length, because %H amd %m and such can match different numbers of digits.) | |||
2016-10-18 | Test infrastructure: collate make "test_single" and "make tests" into common | Rob Landley | |
function, and add $C variable with an absolute path to the command being tested (you need to call things like printf by path to avoid shell builtins, might as well be consistent). | |||
2016-10-18 | Add a printf test that shows a bug. | Rob Landley | |
2016-10-18 | Unify touch -t and -d handling, allow posix's underspecified "time designator" | Rob Landley | |
T to be a space instead (because the posix says so, no idea why), initialize default values reliably including zeroing daylight savings time field (which is handled inconsistently by libc and just screws stuff up). | |||
2016-10-17 | A few more sed tests. | Rob Landley | |
2016-10-17 | The recent --help infrastructure fiddling made "toybox --help unknown" segfault | Rob Landley | |
because lookup failure left this->which NULL and error_exit() dereferenced it. (Oops.) | |||
2016-10-12 | Stop renaming the ADDR field to PC on Android. | Elliott Hughes | |
It's causing confusion, and it's not obvious that anyone's relying on it (and even if they are, let's try to find and fix them first). |