Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-08 | Promote chcon to "other". | Rob Landley | |
2015-02-08 | Cleanup pass on chcon. | Rob Landley | |
2015-02-08 | Rewrite of a patch from Elliott Hughes to implement touch -h and switch API ↵ | Rob Landley | |
to utimensat() which offers nanosecond granularity and UTIME_OMIT/UTIME_NOW. | |||
2015-02-08 | For some reason, ifconfig was explicitly excluding "ifconfig lo:0 127.0.0.2" ↵ | Rob Landley | |
style alias address assignments. No idea why. | |||
2015-02-07 | netcfg is being removed, but shows up in the toybox roadmap. | Elliott Hughes | |
2015-02-07 | Shameless meddling. | Rob Landley | |
2015-02-07 | Use $TMPDIR if set (necessary on Android, where there is no /tmp). | Elliot Hughes | |
Include full template in error messages. Don't report success on failure with -q. Avoid unnecessary allocation. Fix "xxxxxx" versus "XXXXXX" confusion. | |||
2015-02-07 | Build standalone commands where "depends on" config entries need to be ↵ | Rob Landley | |
switched on. | |||
2015-02-07 | Clean up the output of "make change". | Rob Landley | |
2015-02-07 | Remove xexec_optargs(). | Rob Landley | |
2015-02-07 | Cleanup pass on env, removing exec_optargs(). | Rob Landley | |
2015-02-07 | Make toy_exec() check if argc is in optargs and deal with it there so we ↵ | Rob Landley | |
don't need a separate xexec_optargs(). | |||
2015-02-07 | Merge unshare and nsenter (promoting and cleaning up nsenter). | Rob Landley | |
Needs more testing, don't have a test environment set up for this yet... | |||
2015-02-06 | In rm, init using to AT_REMOVEDIR in the dir case earlier. | Rob Landley | |
(If you had a chmod 000 directory and did rm -r on it without -f, after the prompt it would complain it was a directory.) | |||
2015-02-06 | Alright, the Android guys agree with the musl guys: ↵ | Rob Landley | |
faccessat(AT_SYMLINK_NOFOLLOW) is not supported. | |||
2015-01-25 | Commit 1061 said "this gets expand off my to-review list". Remove it from ↵ | Rob Landley | |
the list. | |||
2015-01-25 | Cleanup mountpoint and remove it from the pending README. | Rob Landley | |
2015-01-22 | bootchartd: Removing wrong free call to non-malloc'ed string. | Luis Felipe Strano Moraes | |
2015-01-22 | Fix sed s//\[newline]/ line continuations. | Rob Landley | |
The problem was that readline() was returning a newline at the end of each string, which wasn't getting stripped in the parser and thus \ wasn't at the end of a line for -f, it was escaping a literal newline, so the continuation logic didn't trigger. Remove some redundant null checks while we're at it, and don't bother terminating a string we don't return (yes we leak memory in an error path, but it's about to error_exit() anyway). | |||
2015-01-20 | fix hwclock's rtc selection | Elliott Hughes | |
For systems using /dev/rtcN, /dev/rtc0 isn't necessarily the RTC that's used to provide the system time at boot time. We need to search for the RTC whose /sys/class/rtc/rtcN/hctosys contains "1". | |||
2015-01-20 | fix typo in printf | Elliott Hughes | |
2015-01-18 | Remove trailing whitespace. | Rob Landley | |
2015-01-18 | Lift the basename/libgen.h shenanigans back out of portability.c and make it ↵ | Rob Landley | |
a static inline in portability.h, and prototype dirname() while we're at it. | |||
2015-01-18 | fix non-glibc basename(3) usage | Elliott Hughes | |
I considered a #else on the big #ifdef __GLIBC__ above, but that seemed harder to follow. | |||
2015-01-16 | Move pty.h back to toys.h (under LSB 4.1 headers). | Rob Landley | |
2015-01-16 | AOSP master has <pty.h> and builds netcat/nc. | Elliott Hughes | |
2015-01-16 | id.c #ifdefectomy. (ifdefs belong in headers, not in C code.) | Rob Landley | |
2015-01-16 | This patch adds a TOYBOX_SELINUX configuration option to control both | Elliott Hughes | |
the SELinux commands (such as chcon) and the SELinux-specific options to regular commands (such as ls -Z). This lets us #include <selinux/selinux.h> in portability.h. I've also fixed chcon to insist on being given the a context argument. This patch also adds -Z to id and fixes id's regular output (-G should be separated by spaces, non-G output should be separated by commas, and you don't want a double comma where the egid is omitted from the list of groups). | |||
2015-01-15 | Added tag 0.5.1 for changeset 62a7d617e1ce | Rob Landley | |
2015-01-14 | Switch netcat to stop parsing command line at first nonoption argument ↵ | Rob Landley | |
instead of stopping after -l or -L. Hyejin Kim tried "toyboxd nc nc -p 1234 -l rm mv ps" (which attempted to run "nc rm mv ps") and "toybox nc -l -p 1234" (which attempted to run "-p 1234") and found the behavior confusing. So make it work like xargs, where all netcat options have to come before the start of any child command. | |||
2015-01-14 | Make touch -d miliseconds work. (Still only 6 digits precision instead of 9, ↵ | Rob Landley | |
but it's a start.) | |||
2015-01-14 | i found a few problems while manually smoke testing toybox chown versus ↵ | Elliott Hughes | |
toolbox (NetBSD) chown... new test: and here's the patch to fix "owner:" ":group" and the ":" special case: | |||
2015-01-14 | Let chown build standalone. | Rob Landley | |
2015-01-13 | sed bugfix: N or n at end of script would save the terminating NULL as the ↵ | Rob Landley | |
resume position, so the script would restart from beginning. | |||
2015-01-13 | sed s/// can have line continuations in the replacement part, with or ↵ | Rob Landley | |
without a \ escaping the newline. | |||
2015-01-11 | Promote printf. | Rob Landley | |
2015-01-11 | One more bugfix for printf.c, with test suite entry. (Make %-3d etc work.) | Rob Landley | |
2015-01-11 | Cleanup pass on printf. | Rob Landley | |
Alas, passing a union as the last argument to printf does not appear to work reliably, and there's no obvious way to manually assemble varargs in a portable manner. So I have to repeat the printf once for each data type. Oh well. | |||
2015-01-10 | More half-finished cleanup of printf.c, and more test suite entries. | Rob Landley | |
2015-01-06 | Since "printf" is a shell builtin, printf.test wasn't actually testing anything. | Rob Landley | |
2015-01-06 | More printf cleanup, and test suite entries. | Rob Landley | |
Fixes bug introduced last time where toys.optargs was both snapshotted and used directly and the two fell out of sync. | |||
2015-01-04 | Fix sed backslash parsing in square bracket pattern sections. | Rob Landley | |
2015-01-03 | Another cleanup pass on printf. | Rob Landley | |
2015-01-03 | Move fflush() checking to xexit() and have exit paths in main() call that. | Rob Landley | |
2015-01-02 | Cleanup pass on printf. | Rob Landley | |
2015-01-02 | Need to update install.c for the changed OLDTOY() argument list. | Rob Landley | |
2015-01-01 | Tweak status.html | Rob Landley | |
2015-01-01 | Switch a lot of strncpy() calls to xstrncpy(). | Rob Landley | |
2015-01-01 | strncpy(optptr, hname, strlen(hname)) is really just strcpy(). | Rob Landley | |
2015-01-01 | strtol() doesn't return error indicator for overflow, it just sets errno. So ↵ | Rob Landley | |
add estrtol() (which clears errno first), and xstrtol() (which error_exit()s on overflow). |