Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2016-01-16 | Add swapon -d (discard) | Rob Landley | |
2016-01-10 | Make cursor left/right change sort type in iotop. | Rob Landley | |
2016-01-07 | Make scan_key() specify timeout in miliseconds, split out terminal_probesize(), | Rob Landley | |
add function key definitions and shift/ctrl/alt cursor keys. | |||
2016-01-05 | Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format | Rob Landley | |
checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts. | |||
2015-12-29 | Add strafter() to lib. | Rob Landley | |
2015-12-27 | Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY, | Rob Landley | |
and add test_scankey. | |||
2015-12-23 | Factor out draw_str() and friends. | Rob Landley | |
2015-12-06 | Add free -h, based on a patch from Isabella Parakiss. | Rob Landley | |
2015-12-04 | Tom Marshall reported that blkid was handling ext2 wrong. | Rob Landley | |
Even though ext2 has a comment that it has to be at the start, I added swap to the start of the array (oops). The test suite was also wrong (it was matching the _incorrect_ output). | |||
2015-11-03 | Whitespace and parentheses. | Rob Landley | |
2015-11-02 | Explain signals in oneit help text. | Rob Landley | |
2015-10-27 | Replace xcount_cpus() with a call to sysconf(_SC_NPROCESSORS_CONF) | Rob Landley | |
2015-10-25 | Add xcount_cpus() | Rob Landley | |
2015-10-20 | Move d/h units from %d %D output to default format string. | Rob Landley | |
2015-10-10 | "stat -c %T" support (filesystem type names) based on patch from Hyejin Kim. | Rob Landley | |
2015-10-06 | New command: flock. | Elliott Hughes | |
The brillo folks wanted this in a shell script they're porting over (so I've only implemented the fd style they wanted, not the named file style). | |||
2015-09-29 | help_exit() tweak. | Rob Landley | |