Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-17 | Minor cleanup pass on touch. | Rob Landley | |
2014-09-17 | Cleanup pass on cut, more to do. | Rob Landley | |
Cut predates the "pending" directory, so was checked in as-is. Ashwini Sharma's recent static analysis fixes touched this file, but there's a lot more to do than the static analyzer found. | |||
2014-09-16 | Cleanup pass on useradd. | Rob Landley | |
2014-09-14 | Add cpio -p | Rob Landley | |
2014-09-14 | find -xdev should return mount points, just not contents. | Rob Landley | |
2014-09-14 | Second attempt at one way xpopen(). | Rob Landley | |
2014-09-14 | Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ↵ | Rob Landley | |
we want to redirect both, one, or neither of stdin/stdout. | |||
2014-09-13 | Bug report from luckboy: rm -f on a broken symlink didn't work because our ↵ | Rob Landley | |
"does it exist" test (to avoid errors on rm -f of nonexistent files) said it didn't. The fix: replace the access() with unlink(), which produces the same "does not exist" errno and has the added bonus of acting as a fastpath for rm -f on non-directories. (And since it produces a different error on directories, falls through to the old behavior there.) Most of this commit is comment updates explaining being subtle. :) | |||
2014-09-11 | Create a generated/build.sh with a single compiler command line to rebuild ↵ | Rob Landley | |
the toybox_unstripped binary using the existing generated/*.h files. This way we can snapshot the generated/*.{h,sh} from a defconfig build into a "shipped" directory or something, and then people can maybe build on crazy crippled environments like pcbsd that haven't got gmake and put bash under /usr/local so none of the #!/scripts can find it. This solves at least part of the "toybox can build with itself but you need to build toybox first to have the tools to run the build scripts" problem. Next up: work out the minimal config to provide the build tools needed to run an actual build. (This should, eventually, include a "make" command if freebsd's kernel is going to refuse to build with netbsd's "make" and we don't just write off the whole thing as crazy. But it probably shouldn't include commands that #include <linux/*.h> if we are trying to make that work.) | |||
2014-09-11 | Oops, unbreak make.sh. | Rob Landley | |
Clearing out old .o files needs -r now that generated/obj has its own subdirectory. (Works if you make clean between, but shouldn't need it.) | |||
2014-09-09 | Ignore -m option to cpio, it's what we do anyway so it's not an error. | Rob Landley | |
2014-09-09 | Two problems: 1) Sometimes toy_exec() needs to re-exec to gain dropped root ↵ | Rob Landley | |
permissions, 2) shouldn't recurse forever without exec, stack depth increases and we may leak other resources. Limit it to ~5 levels. | |||
2014-09-09 | Make tweaks: collate generated/*.o files into their own subdirectory, add ↵ | Rob Landley | |
PIPEFAIL for better error reporting, and simpler regex to select toys/*/*.c list based on NEWTOY/OLDTOY macros. | |||
2014-09-08 | Fix more memory leaks reported by Ashwini Sharma. | Rob Landley | |
2014-09-08 | Don't close device handle until after calling flush ioctls, reported by ↵ | Rob Landley | |
Ashwini Sharma. | |||
2014-09-08 | Add error test and fix memory leak, reported by Ashwini Sharma. | Rob Landley | |
2014-09-07 | Promote mount. It's not perfect, but it basically works now. | Rob Landley | |
2014-09-07 | Fix mount --move bug. | Rob Landley | |
2014-09-07 | Debugging pass on mount. Not quite done yet, but the basics seem to work now. | Rob Landley | |
2014-09-06 | Work around uClibc brain-damage. | Rob Landley | |
2014-09-04 | Don't hang for $CPUS=1. | Rob Landley | |
echo prints a newline if it has nothing to print, so wc -l always returns at least 1. Fix: echo -n | |||
2014-09-03 | Testsuites for toybox command - "tar", "bzcat", "xzcat", "zcat" and "hostname". | Divya Kothari | |
2014-09-03 | chmod testsuite and link testsuite. | Divya Kothari | |
Chmod ? In this testsuite after change file mode bits, we are comparing file mode with expected ones. One additional "." is coming with modes (actual result). That?s why test cases are getting failed. This patch will remove additional "." from actual result. Link ? Added more test cases. | |||
2014-09-01 | Add cp -F to force delete of existing destination files, and make install ↵ | Rob Landley | |
command use that. -F is equivalent to the gnu/dammit flag --we-think-long-options-without-short-options-are-a-good-idea | |||
2014-08-31 | More parallel build tweaks. | Rob Landley | |
echo "$PENDING" needs the quotes to avoid gluing the lines together, which prevents wc -l or head -n +2 from working right. | |||
2014-08-31 | Next mount checkpoint. | Rob Landley | |
Testing level: It compiled. If any portion of this works, I'll be amazed. Still a bunch of todo items (see giant TODO block after globals) | |||
2014-08-31 | Give a hint when setuid logic fails. | Rob Landley | |
Toybox expects to be setuid root; setuid some other user confuses the attempt to drop privileges, and we err on the side of avoiding shenanigans. | |||
2014-08-30 | Old compilers complain about linker options passed with -c, so split out ↵ | Rob Landley | |
$LDOPTIMIZE. | |||
2014-08-30 | Another fix from Johan Bergstr?m, using the gnu/dammit version of sort on ↵ | Rob Landley | |
the host can be screwed up by more than one environment variable. | |||
2014-08-30 | Add VERBOSE=fail to "make tests", based on suggestion from Johan Bergstr?m. | Rob Landley | |
2014-08-25 | ipcs : display all the IPC fascilities information | Ashwini Sharma | |
crond : CRON scheduler | |||
2014-08-24 | Work in progress snapshot of mount, with fallout to umount. (Not done yet.) | Rob Landley | |
2014-08-24 | Fix parallel make not always catching errors before link time. | Rob Landley | |
jobs -p removes finished jobs from the list after reporting them once, so we need to record the output and remove duplicates ourselves. | |||
2014-08-23 | Promote blockdev to other. | Rob Landley | |
2014-08-23 | Cleanup blockdev. | Rob Landley | |
2014-08-22 | getty needs fd 0 to stay open. | Isaac Dunham | |
The O_CLOEXEC reversal resulted in login failing. | |||
2014-08-20 | Promote inotifyd to other. | Rob Landley | |
2014-08-20 | Minor help text tweak for inotifyd. | Rob Landley | |
2014-08-20 | Cleanup inotifyd. | Rob Landley | |
2014-08-18 | Cleanups on useradd/groupadd/groupdel, and put TOYBOX_UID_SYS and ↵ | Rob Landley | |
TOYBOX_UID_USR in the top level Config. | |||
2014-08-16 | Add install to cp/mv. | Rob Landley | |
2014-08-15 | Fix bug reported by Ashwini Sharma: [-abc] syntax to switch off a command forget | Rob Landley | |
s _all_ saved command line arguments in GLOBALS(), not just for the command bein g dropped. | |||
2014-08-15 | If string_to_mode() is called on a base mode with S_ISDIR() and such set, ↵ | Rob Landley | |
pass those extra bits through. | |||
2014-08-12 | Enable a command's sub-options in single builds. | Rob Landley | |
2014-08-12 | A toy _BLOCKDEV_ to get/set block device properties. | Ashwini Sharma | |
2014-08-12 | Patches to commands for issues reported from static analysis tool. | Ashwini Sharma | |
portability.h.patch - it is for O_CLOEXEC, as compiler complained of it. Makefile.patch - for cleaning generated/*.o files and libopts.dat file [Fixup to uniq.c from Rob.] | |||
2014-08-11 | Promote lspci. | Rob Landley | |
2014-08-11 | Cleanup pass on lspci. | Rob Landley | |
2014-08-10 | Update clean to clean up after new parallel build. | Rob Landley | |
2014-08-09 | Disable xopen's default O_CLOEXEC for oneit. | Rob Landley | |