Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-18 | More sed bugfixes. | Rob Landley | |
2014-11-17 | sed: fix 'q', and { }, and } after s/// with no semicolon. | Rob Landley | |
2014-11-17 | More sed corner cases. (Empty regex repeats previous regex, implement -i, etc.) | Rob Landley | |
2014-11-16 | Fix more sed bugs. | Rob Landley | |
2014-11-16 | Fix sed 'b' with no label and 'N' in general. | Rob Landley | |
2014-11-15 | More sed bugfixes. (Did you know s/[/]// is a valid sed expression?) | Rob Landley | |
2014-11-15 | Debugging pass on sed: make the existing test suite pass. | Rob Landley | |
2014-11-14 | sed: implement s & and \1 backrefs. | Rob Landley | |
2014-11-12 | Implement more sed plumbing, including s/// (without \1 or & yet). | Rob Landley | |
2014-11-10 | Implement another largeish chunk of sed. Untested, unfinished, do not use yet. | Rob Landley | |
2014-11-10 | First cleanup pass on hwclock. | Rob Landley | |
2014-11-10 | hwclock: get and set the hwclock | Ashwini Sharma | |
2014-11-10 | ipcrm : remove msg que, sem or shared memory | Ashwini Sharma | |
2014-11-08 | Implement a few sed commands. Not done, and not tested yet. | Rob Landley | |
2014-11-04 | Next round of sed infrastructure, parses most commands now, doesn't ↵ | Rob Landley | |
implement them yet. | |||
2014-10-30 | Attached are new toys TR and CRONTAB. | Ashwini Sharma | |
*tr.c*: It translate, squezze and delete characters. Supported classes are alpha, alnum, digit, lower, upper space, blank, puct, cntrl and xdigit. *crontab.c*: Companion of crond. It maintains crontab files. | |||
2014-10-30 | Test for ls -d from Isaac Dunham, and he pointed out -F also disables ↵ | Rob Landley | |
symlink following. | |||
2014-10-30 | Bug report from Isaac Dunham: ls -d shouldn't follow command line symlinks ↵ | Rob Landley | |
without -H or -L (just like ls -l). | |||
2014-10-29 | Next drop of sed infrastructure, mostly argument parsing, doesn't do ↵ | Rob Landley | |
anything interesting yet. | |||
2014-10-28 | Fill out rest of help text for sed. | Rob Landley | |
2014-10-27 | Fix use after free error spotted by ?ukasz Szpakowski. | Rob Landley | |
2014-10-24 | Basic sed range support, enough for "sed -n 9,11p README" to work. | Rob Landley | |
2014-10-22 | Teach ln -f to leave original target alone if link creation fails. | Rob Landley | |
Suggested by Ashwini Sharma, I wound up implementing it by creating the new link at a temporary name and renaming it over the old one instead of renaming the old file out of the way and putting it back if it failed. (Because "mkdir -p one/one/blah && ln -sf /bin/one one" would otherwise rename one/one out of the way and only notice it can't delete it way at the end when recovery's darn awkward, vs create new thing and if rename fails (including EISDIR) that's the main error path. And yes the temporary name is in the same directory as the destination so we never rename between mounts.) link over the old one instead of renaming the old file and renaming it back. | |||
2014-10-20 | Random in-progress snapshot of sed, not finished yet. | Rob Landley | |
2014-10-20 | More static analysis fixes from Ashwini Sharma. | Rob Landley | |
2014-10-19 | nsenter: A tool to use setns(2) | Andy Lutomirski | |
This implements all of the namespace parts of nsenter, but UID and GID switching are missing, as are -r and -w (both because they're not strictly necessary and because the nsenter manpage has an insufficient description of how they work). | |||
2014-10-17 | unshare: Fix help and option parsing | Andy Lutomirski | |
The help text was inconsistent, and option parsing was completely broken (the options mostly did the wrong thing). | |||
2014-10-18 | Factor out printf-style escape parsing logic from echo.c. | Rob Landley | |
2014-10-16 | Even bigger ip.c, from Ashwini Sharma. | Rob Landley | |
2014-10-14 | Use O_CLOEXEC instead of O_RDONLY to signal loopfiles_rw() to close filehandles. | Rob Landley | |
2014-10-14 | Fix last night's mv commit (use dest, not source). | Rob Landley | |
2014-10-14 | Implement mv -f and -i. | Rob Landley | |
2014-10-13 | Started over on sed (by reading the posix spec). | Rob Landley | |
2014-10-10 | acpi: implement -ctV, fix recursion, plug a small leak | Isaac Dunham | |
* acpi_callback had blindly assumed that a path of 26 chars or more was the right depth; rely on depth from dirtree root * acpi -c shows cooling device state some backlights are set up so that they will report dimmer as higher, but that's a hardware issue that can't be sanely worked around. * acpi -t shows temperatures this implementation will pick up fan, battery temperatures, etc. (but currently not hwmon-type temperatures, or hdd temps; acpi 1.7 does not measure these either) we handle milli-C (typical) and deci-C (I've seen this on Qualcomm batteries, and not yet anywhere else) we do *not* handle deci-K yet * acpi -V shows all sensors * without saving the result of dirtree_path() to free later, we had a slow leak. all callbacks call this once, so save it in GLOBALS() acpi -t happens to need this anyhow, though using openat()/readall() instead of readfile() would work. | |||
2014-10-09 | Various bugfixes (mostly resource leaks) from Ashwini Sharma's static ↵ | Rob Landley | |
analysis, plus occasional tweak by me while reviewing them. | |||
2014-10-09 | Fix use-after-free spotted by Ashwini Sharma's static analysis. | Rob Landley | |
We xstrdup() an optargs string to avoid modifying our environment space (because it can change what "ps" shows to other processes), and then parse out colon delimited strings and save them in globals that can later be used in the -v codepath and so on. But those globals _aren't_ strdup (no point) which means we can't free the string while we're still using pointers into the middle of it. So move the free to the end. (I hardly ever test with CFG_TOYBOX_FREE switched on because even nommu doesn't need it.) | |||
2014-10-01 | Bugfix from Ashwini Sharma: Z timezone required by posix for touch but not ↵ | Rob Landley | |
for libc, so we have to implement it here. | |||
2014-09-28 | Updated version, having complete support for ip _link_, _addr_, _rule_, ↵ | Ashwini Sharma | |
_route_ and _tunnel_ options. | |||
2014-09-28 | Fix two mount bugs: 1) Don't skip a filesystem type when setting up loopback ↵ | Rob Landley | |
mount, 2) Don't stop checking filesystem types due to EBUSY, it may mean already mounted by another filesystem type you haven't tried yet. | |||
2014-09-28 | mount: terminate list so unknown user mount attempts don't endlessly loop, ↵ | Rob Landley | |
add better error reporting. | |||
2014-09-27 | Cleanup pass on groupdel. | Rob Landley | |
2014-09-27 | Untangle id/groups/logname so single.sh can build each one standalone. | Rob Landley | |
2014-09-26 | The only illegal characters in a username are ":" (field separator), "\n" ↵ | Rob Landley | |
(line separator), and "/" (filename separator). Restricting usernames to the legacy posix character allowed set (for filenames, so the $HOME directory is creatable on VFAT and similar) means you can't have UTF-8 usernames. Linux allows any character but / and NUL in filenames. Since root is creating these entries, we assume root knows what it's doing. | |||
2014-09-26 | Separate more commands so single.sh can build them standalone. | Rob Landley | |
2014-09-22 | When killall was invoked without arguments, there appeared segmentation fault | ?ukasz Szpakowski | |
2014-09-21 | Start on ping.c. | Rob Landley | |
2014-09-18 | Reorder functions to get rid of unnecessary prototypes, and move a global ↵ | Rob Landley | |
into GLOBALS. | |||
2014-09-18 | rm -rf needs to chmod directories to u+rwx, because directories need +x to ↵ | Isaac Dunham | |
search. (Fixes messages about not being able to delete directories when running make test). | |||
2014-09-18 | A few fixes for issues reported in static analysis. | Ashwini Sharma | |
2014-09-17 | Cleanup pass on README. | Rob Landley | |
Other versions are adding Cached from /proc/meminfo to free buffers/cache (and subtracting it from used), but sysinfo() doesn't provide it. (But it provide "high memory", which hasn't been relevant for almost a decade...) But that's a design change, not a cleanup issue. |