Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-17 | Add the sed invocations to convert tabs/spaces and back, plus some tweaks. | Rob Landley | |
2016-02-15 | Cleanup pass on file.c, and add detection of different ELF architectures. | Rob Landley | |
2016-02-14 | Add "make list", rename make working->list_working and pending->list_pending, | Rob Landley | |
and filter out commands that aren't nofork but aren't installed either (toyflags 0, I.E. recognized aliases like "-sh" called from login). | |||
2016-02-14 | Implement file(1). | Elliott Hughes | |
Unlike the POSIX file(1), there's no magic file here, just hard-coded common (non-obsolete) file formats. Personally most of my use of file(1) is as a one-line readelf(1) summarizer, so although I assume a full POSIX file(1) is out of scope (because just the database would likely be larger than all the rest of toybox), a subset that only supports in-use file types actually covers most of the use cases I encounter personally. Also fix peek_be/peek_le. | |||
2016-02-14 | Fix wc -c optimization. | Elliott Hughes | |
Check the fstat(2) return value rather than read uninitialized memory if it failed, and add a special case for files that claim to be zero-length but aren't (as is common in /proc on Linux). | |||
2016-02-11 | removed unread assignment in sed.c | lovelycuppatea | |
clang scan-build flags up this line as being unread, so clearing from code. | |||
2016-02-10 | Ignore .singlemake. | Rob Landley | |
2016-02-10 | Wean scripts/install.c off toys.h so cross compiling less brittle. | Rob Landley | |
2016-02-10 | Don't include toys.h from config2help.c (so cross-compiling from systems we | Rob Landley | |
don't run on is easier), and use HELP_ instead of help_ for macro prefixes to avoid name collisions (such as help_exit() the function). | |||
2016-02-10 | toybox: tar: Fix support for long names | Tom Marshall | |
Pathnames may be longer than the name field in the header, so use strncpy() instead of xstrncpy() to avoid bailing out. Also add unit tests to ensure proper handling of short and long pathnames. Change-Id: Id025891993746889564b479e5185cf9721b54a55 | |||
2016-02-10 | toybox: tar: Fix tar tests | Tom Marshall | |
Don't rely on ordering of readdir for tests. Change-Id: Ice24bb64ce453acb0006e3746677d619db933ab1 | |||
2016-02-10 | main.c: fix non-root usage when installed suid root | Patrick Ohly | |
When toybox is installed suid root and invoked by a non-root user for commands which do not require root privileges, it drops the root privileges during initialization. However, since commit afba5b8efd the result check of setuid() was inverted such that it aborted on success, making toybox unusuable for non-root users. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> | |||
2016-02-10 | Add seq -w, suggested by izabera. | Rob Landley | |
2016-02-10 | Factor out strnstr() since posix hasn't got it, and add a config option for | Rob Landley | |
the deeply sad passwd heuristics that don't even check numbers and punctuation. | |||
2016-02-10 | make wc -c faster | izabera | |
2016-02-10 | use unsigned long with factor | izabera | |
2016-02-10 | Although printf("%.*s", INT_MAX, s) works fine on ubuntu 12.04, it broke since. | Rob Landley | |
2016-02-10 | implement env -u | izabera | |
2016-02-09 | Add ulimit. | Rob Landley | |
This isn't a shell builtin, it uses prlimit to target any pid (without -P it defaults to $PPID, so acts like historical ulimit by default). | |||
2016-02-09 | Fix xpipe. (thinko.) | Rob Landley | |
2016-02-08 | Add xpipe() to lib. | Rob Landley | |
2016-02-07 | Dependencies for "make COMMAND" | Rob Landley | |
2016-02-07 | Add "make ls" and friends targets, with "make working" and "make pending" lists. | Rob Landley | |
2016-02-07 | Add a warning when building commands out of pending. | Rob Landley | |
2016-02-05 | Debian unstable is even more pedantic than previous debian. | Rob Landley | |
2016-02-05 | Another fix from Josh Gao to avoid a null pointer dereference, and | Rob Landley | |
minor cleanup of previous commit. | |||
2016-02-05 | Fix segfault when `find -iname` gets no argument. | Josh Gao | |
2016-02-04 | Fix -H and -n with -ABC, and add tests. | Rob Landley | |
2016-02-04 | Merge branch 'master' of ssh://github.com/landley/toybox | Rob Landley | |
2016-02-03 | Commit d20b9ff3ee0f fixed most of yocto building, but there was a leftover | Rob Landley | |
(redundant) file built from the makefile (which _should_ just be a wrapper for scripts/make.sh and scripts/install.sh). | |||
2016-02-02 | Update to status.html and some test suite cosmetic tweaks. | Rob Landley | |
2016-02-02 | Editorial comment. | Rob Landley | |
2016-02-02 | Fluffier release notes. | Rob Landley | |
2016-02-02 | Release notes. | Rob Landley | |
2016-02-02 | Release time.0.7.0 | Rob Landley | |
Calling it 0.7.0 because the fullscreen (cursor/utf8) infrasructure is in now. | |||
2016-02-01 | Fix directory test in cp. | Elliott Hughes | |
Commit 3d33dd80f8cb931e293d7f64c44bc357fec11120 fixed a use of S_ISDIR on st_dev rather than st_mode in find, but there was another instance of the same error in cp. | |||
2016-02-01 | Add find -delete | Rob Landley | |
2016-01-31 | More testsuite tweaks. | Rob Landley | |
2016-01-31 | chmod.test had umask assumptions which broke, so set explicit umask. | Rob Landley | |
2016-01-31 | Fix broken test in cat.test. | Rob Landley | |
"cat /proc/self/exe && cmp /proc/self/exe" won't see the same file if cat and cmp aren't both in a toybox multiplexer binary, so snapshot and pick one. | |||
2016-01-31 | Fix blkid typo (label wasn't detected in murderfs). | Rob Landley | |
2016-01-31 | Tweak to "find" tests. | Rob Landley | |
2016-01-30 | Add grep -B -C | Rob Landley | |
2016-01-30 | Add grep -A | Rob Landley | |
2016-01-30 | Fix two CFG_TOYBOX_SUID corner cases: | Rob Landley | |
1) Don't try to force re-exec unless we actually dropped permissions. (Fixes "./toybox mount" when no suid bit on toybox binary, which previously exited.) 2) Set temporary toys.which value for error reporting. (Fixes "ln -s toybox mount && ./mount" with CFG_TOYBOX_DEBUG and no suid bit, which previously segfaulted.) | |||
2016-01-28 | Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill. | Rob Landley | |
2016-01-28 | Adding -M broke ps -k header printing without -M. | Rob Landley | |
2016-01-28 | Bugfix I forgot to checkin, plus a wrapper function. | Rob Landley | |
2016-01-27 | Don't resort or recalculate headers for cursor up/down, do PGUP PGDN, and | Rob Landley | |
down move way down past end of list. | |||
2016-01-27 | Add cpu line to top, and fix a bug initializing upticks slot. | Rob Landley | |