Commit történet

Szerző SHA1 Üzenet Dátum
  Rob Landley 87ede171ee Version 0.6.1 8 éve
  Rob Landley 3b51a07e47 Another chunk of nommu support, replacing toys.recursion with toys.stacktop. 8 éve
  Rob Landley e5354ca12a Replace toys.exithelp with help_exit() in lib. 8 éve
  Rob Landley 6898647598 Make multiplexer's "command not found" exit 127. 9 éve
  Rob Landley 8d6cbd4948 Tweak version number. 9 éve
  Rob Landley 483cfdabaf Replace android-specific hack with just signal(SIGPIPE, SIG_IGN). 9 éve
  Rob Landley e7c09548b9 Add default sigpipe handler for android (as suggested by Elliott Hughes). 9 éve
  Rob Landley 90afbad4c1 Make toybox --version use the "git describe" info if it's available. 9 éve
  Rob Landley e7acb4749d Adding --version broke ./toybox command list. (Oops.) 9 éve
  Rob Landley ad602aa127 Add --version to multiplexer. 9 éve
  Rob Landley 1e2399b91c 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...) 9 éve
  Rob Landley 7c5ed1ceda Only discard optargs in toy_exec() after finding the command to run (otherwise the fallback exevp() segfaults). 9 éve
  Rob Landley c0045207a7 Make toy_exec() check if argc is in optargs and deal with it there so we don't need a separate xexec_optargs(). 9 éve
  Rob Landley 2c1cf4a027 Remove trailing whitespace. 9 éve
  Rob Landley aad492fd87 Move fflush() checking to xexit() and have exit paths in main() call that. 9 éve
  Rob Landley f3e56f4e4f 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). 9 éve
  Rob Landley dc11ed8d3b The "re-exec to regain root permissions" logic broke the error message when calling root-only commands through the multiplexer. 9 éve
  Rob Landley d3f335d2cf Cosmetic tweak: no trailing spaces when ./toybox lists command names. 9 éve
  Rob Landley dc1af185e7 Don't segfault for --help of single.sh build of OLDTOY commands that use another command's help. 9 éve
  Rob Landley 9b14cb6b12 Always call setlocale if I18N is enabled, so nested toy_exec() can switch it back off if necessary. 9 éve
  Rob Landley c6705af423 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. 9 éve
  Rob Landley 5c87c1426b Give a hint when setuid logic fails. 9 éve
  Rob Landley fc49761a9c Forgot to check in main() part of TOYFLAG_LOCALE change. 10 éve
  Rob Landley 90b200cac6 Move toys.toycount initialization _after_ zeroing toys, so help -a works again. 10 éve
  Rob Landley 3bc5d3d880 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. 10 éve
  Rob Landley 1bc522424f Add generic_signal() handler, which sets toys.signal and writes byte to toys.signalfd if set. 10 éve
  Rob Landley 52ab00b608 bugfix: the multiplexer increments optc and then the command the multiplexer runs increments it further, resulting in a wrong count. Fix: zero it. 10 éve
  Rob Landley 36aa7d7382 Add help -a (to show all commands) and -h (to produce HTML output). 10 éve
  Rob Landley afba5b8efd Fix some issues raised (albeit indirectly) by Isaac Dunham. 10 éve
  Rob Landley 6db8529a78 Don't permute toys.optargs, cleanup code (xexec()) can free it. 10 éve