log main.c @ 1776:7bf68329eb3b draft default tip

age author description
Fri, 06 Mar 2015 15:12:52 -0600 Rob Landley The "no }" error with find | xargs sed is because toy_init() wasn't blanking the GLOBALS() block on a recursive call. (How that ever worked...) draft
Sun, 15 Feb 2015 15:27:43 -0600 Rob Landley Only discard optargs in toy_exec() after finding the command to run (otherwise the fallback exevp() segfaults). draft
Sat, 07 Feb 2015 16:17:44 -0600 Rob Landley Make toy_exec() check if argc is in optargs and deal with it there so we don't need a separate xexec_optargs(). draft
Sun, 18 Jan 2015 14:06:14 -0600 Rob Landley Remove trailing whitespace. draft
Sat, 03 Jan 2015 16:25:36 -0600 Rob Landley Move fflush() checking to xexit() and have exit paths in main() call that. draft
Wed, 31 Dec 2014 21:30:59 -0600 Rob Landley Redo option parsing infrastructure so #define FORCE_FLAGS can unzero flag macros for a disabled command (needed when multiple commands share infrastructure with a common set of flags). draft
Sat, 29 Nov 2014 21:11:34 -0600 Rob Landley The "re-exec to regain root permissions" logic broke the error message when calling root-only commands through the multiplexer. draft
Sun, 26 Oct 2014 12:56:41 -0500 Rob Landley Cosmetic tweak: no trailing spaces when ./toybox lists command names. draft
Sat, 27 Sep 2014 19:58:18 -0500 Rob Landley Don't segfault for --help of single.sh build of OLDTOY commands that use another command's help. draft
Sat, 20 Sep 2014 17:51:23 -0500 Rob Landley Always call setlocale if I18N is enabled, so nested toy_exec() can switch it back off if necessary. draft
Tue, 09 Sep 2014 23:42:25 -0500 Rob Landley Two problems: 1) Sometimes toy_exec() needs to re-exec to gain dropped root permissions, 2) shouldn't recurse forever without exec, stack depth increases and we may leak other resources. Limit it to ~5 levels. draft
Sun, 31 Aug 2014 11:58:39 -0500 Rob Landley Give a hint when setuid logic fails. draft
Sat, 21 Jun 2014 13:03:42 -0500 Rob Landley Forgot to check in main() part of TOYFLAG_LOCALE change. draft
Wed, 11 Jun 2014 22:13:28 -0500 Rob Landley Move toys.toycount initialization _after_ zeroing toys, so help -a works again. draft
Sat, 24 May 2014 13:50:19 -0500 Rob Landley The "not root" test happens before looking for --help, so "./sulogin --help" doesn't show it. Instead make the "not root" failure case always show help text. draft
Wed, 21 May 2014 07:24:16 -0500 Rob Landley Add generic_signal() handler, which sets toys.signal and writes byte to toys.signalfd if set. draft
Tue, 01 Apr 2014 18:18:46 -0500 Rob Landley bugfix: the multiplexer increments optc and then the command the multiplexer runs increments it further, resulting in a wrong count. Fix: zero it. draft
Fri, 28 Mar 2014 17:48:02 -0500 Rob Landley Add help -a (to show all commands) and -h (to produce HTML output). draft
Mon, 23 Dec 2013 06:49:38 -0600 Rob Landley Fix some issues raised (albeit indirectly) by Isaac Dunham. draft
Thu, 19 Dec 2013 21:38:12 -0600 Rob Landley Don't permute toys.optargs, cleanup code (xexec()) can free it. draft
Tue, 03 Sep 2013 17:56:28 -0500 Rob Landley Introduce libbuf analogous to toybuf but for use by lib/*.c. Change readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL. draft
Fri, 30 Aug 2013 01:53:31 -0500 Rob Landley Add scripts/single.sh to build individual non-multiplexed standalone commands. draft
Wed, 21 Aug 2013 03:03:47 -0500 Rob Landley Fix --help option to multiplexer.
Fri, 19 Jul 2013 02:03:02 -0500 Rob Landley Start of TOYBOX_SINGLE support, for building standalone commands with no multiplexer.
Sun, 30 Jun 2013 15:58:24 -0500 Rob Landley Add config option for --help support in all commands.
Wed, 08 May 2013 23:19:45 -0500 Rob Landley Add --help option to toybox command when TOYBOX_HELP is enabled.
Sun, 21 Apr 2013 12:15:59 -0500 Rob Landley Fix some comments from way back when toybox first started (in 2006), when I was still cleaning busybox-isms out of my head...
Sat, 05 Jan 2013 00:44:24 -0600 Rob Landley Use basename() where appropriate.
Thu, 27 Dec 2012 17:09:17 -0600 Rob Landley TOYBOX_DEBUG warns about lack of suid bit when running a STAYROOT command, but it shouldn't warn just because the multiplexer command "toybox" is stayroot.
Sun, 23 Dec 2012 01:25:27 -0600 Rob Landley Elie De Brauwer pointed out that xputs() isn't reliably reporting errors because there's no flush. Rather than change the output granularity, flush before exit and check errors there. (We still need xputc() doing it so "yes" doesn't continue forever.)