Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-21 | Promote chrt | Rob Landley | |
2017-05-14 | factor shouldn't give incorrect answers for >64-bit integers. | Elliott Hughes | |
2017-04-30 | Building mkpasswd on Android makes no sense. | Elliott Hughes | |
And won't work anyway because we don't have crypt(3). | |||
2017-03-22 | Implement uptime -s. | Elliott Hughes | |
Also add trivial tests. | |||
2017-03-20 | Add TOYBOX_PEDANTIC_ARGS to check arguments when there are no arguments, | Rob Landley | |
and make uptime use it. | |||
2017-02-18 | Ascii only showed 15 rows instead of 16 and spacing was wrong for 96-100. | Rob Landley | |
2017-02-07 | Add ascii: display ascii table. | Rob Landley | |
2017-02-04 | Switch oneit to use xopen_stdio() for -c (oops) and switch XVFORK() to use | Rob Landley | |
__attribute__((returns_twice)) instead of noinline. Yes LLVM supports it: https://llvm.org/bugs/show_bug.cgi?id=6287 | |||
2017-01-28 | Add missing `static`s and remove an unused function. | Elliott Hughes | |
2017-01-28 | Whitespace. | Rob Landley | |
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-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-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-10-25 | Add fallocate -o. | Elliott Hughes | |
Also improve error reporting. | |||
2016-10-22 | Tweak help text. | 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-09-28 | Make setns depend on TOYBOX_CONTAINER probed value. | Rob Landley | |
2016-09-05 | Replace loopfiles' failok with WARN_ONLY open flag. | Rob Landley | |
2016-08-20 | Promote setfattr | Rob Landley | |
2016-08-18 | Change xgetpwnamid/xgetgrnamid to xgetuid/xgetgid returning the id number | Rob Landley | |
instead of a struct. This means it can return "12345" even if that user/group doesn't exist in /etc/passwd and similar. All the users were immediately dereferencing it to get pw_uid or gr_gid anyway, so just return it directly and adjust the users. This fixes things like "chown 12345:23456 filename". | |||
2016-08-16 | Add length modifier to date escapes, and length sanity check. | Rob Landley | |
2016-08-15 | Make "stat -c %37G file" and "stat -c %.5G file" work, and fix %U and %G to | Rob Landley | |
not segfault on a lookup failure (they print the number instead of UNKNOWN). The whitespace in the default output may need some adjusting. | |||
2016-08-11 | Matthias Urhahn pointed out that %b returns hardwired 512 byte units | Rob Landley | |
(man 2 stat says so) and %B is the units on %b (I.E. always 512), so change output and help text. This matches what other implementations produce. | |||
2016-08-04 | Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout, | Rob Landley | |
add xopenro() that takes one argument and understands "-" means stdin, and switch over lots of users. | |||
2016-07-29 | Izabera reporeted that FLAG_v was never checked in timeout. (Oops.) | Rob Landley | |
2016-07-05 | Implement xxd -s. | Elliott Hughes | |
2016-07-03 | Promote netsat, and move ifconfig, netcat, and rfkill to new toys/net directory. | Rob Landley | |
2016-06-15 | Add readlink0() and readlinkat0() which null terminate the data. | Rob Landley | |
2016-06-12 | Finish switching to dev_major/dev_minor. | Elliott Hughes | |
7ca5dc4232b9ac5ee5cd25c8b5b33a58904cd251 didn't switch all callers over to the new functions. | |||
2016-05-16 | Add stat -tL and -c %m%t%T. | Rob Landley | |
Suggested by Sameer Pradhan, or possibly Bilal Qureshi. | |||
2016-04-23 | Fiz bzcat segfault reported by John Regehr (bad crc didn't set error message). | Rob Landley | |
2016-04-14 | Andy Chu pointed out an out of bounds access for zero length lines. | Rob Landley | |
While we're at it, use unsigned for the line length. | |||
2016-03-23 | Minor blkid cleanup. (There was a while(ptr[-1]==' ') ptr--; that could fall | Rob Landley | |
off the start of the string. I pulled on the thread...) | |||
2016-03-22 | blkid: Handle short/empty vfat labels; update tests | Samuel Holland | |
vfat labels have a fixed space allocated for them. In the case of a shorter label, the remaining bytes are padded with spaces. A vfat filesystem with no label (i.e. that will show up in Windows as "Local Disk (X:)" or "Removable Disk (X:)") is stored as "NO NAME ". Both of these changes match behavior from util-linux. | |||
2016-03-15 | Add base64.test, and Izabera pointed out that -w0 should disable wrapping. | Rob Landley | |
2016-03-13 | factor: use long long math (64 bit on 32 bit platforms) and handle negative | Rob Landley | |
numbers even though we use unsigned math now. | |||
2016-03-03 | Fix bzcat integer overflow reported by John Regehr. | Rob Landley | |
2016-03-02 | Fix base64 so == wraps properly. | Rob Landley | |
2016-03-02 | For years the man pages have said to #include <sys/types.h> to get | Rob Landley | |
major/minor/makedev, but glibc has vowed to break existing programs (https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html) and replace it with _another_ non-standard header (not in posix or lsb), so let's just add functions to lib/ that do the transform ourselves. | |||
2016-03-01 | SYS_finit_module isn't there on Ubuntu 12.04 because it was only added to the | Rob Landley | |
3.8 kernel in 2012. That's way too new to assume the build environment has it, so #ifdef and simulate a failure if it's not there. | |||
2016-02-25 | Fix more warnings on 32 bit builds. | Rob Landley | |
2016-02-19 | Implement "insmod -". | Elliott Hughes | |
Also use finit_module if available. Given that "insmod -" requires init_module, maybe this isn't a worthwhile optimization. Given that "insmod /actual/file.ko" is the common use case, maybe it is. Fix a bug in readfileat where *plen would be corrupted if you didn't supply your own buffer (because ibuf is 0 in that case, not a pointer to the start of the allocated space). | |||
2016-02-19 | Help text update from Isaac Dunham, tweaked slightly. | Rob Landley | |
2016-02-19 | Add xxd -p and -r. | Elliott Hughes | |
SELinux denials include hex-encoded paths in the log messages; xxd -r -p is a convenient way to decode them. The heuristics are a little weird to my mind, but match the documentation and observed behavior. | |||
2016-02-10 | use unsigned long with factor | izabera | |
2016-01-31 | Fix blkid typo (label wasn't detected in murderfs). | Rob Landley | |
2016-01-27 | long opts and -f for unshare | izabera | |
2016-01-17 | Extend utf8 fontmetrics so ps can use them. | Rob Landley | |
Also, I forgot to check in uuid_show() last time. | |||
2016-01-17 | Add -L label and UUID support to mkswap. | Rob Landley | |
2016-01-17 | Update draw_str() and friends to do standard escaping for ^X <AB> U+ABCD. | Rob Landley | |