log toys.h @ 1776:7bf68329eb3b draft default tip

age author description
Fri, 16 Jan 2015 13:55:32 -0600 Rob Landley Move pty.h back to toys.h (under LSB 4.1 headers). 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
Wed, 31 Dec 2014 16:22:31 -0600 Rob Landley When you include the posix header libgen.h, glibc #defines basename to some random other symbol name (because gnu) and this screws up nontrivial macro expansions of NEWTOY(basename), so work around it in portability.h. draft
Wed, 19 Nov 2014 16:38:46 -0600 Isaac Dunham probe for getspnam(), forkpty(), utmpx, replace sethostname() draft
Sun, 26 Oct 2014 13:34:33 -0500 Rob Landley xexec() recursion limiter has to go after rebound or toy_init() zeroes it. draft
Sat, 27 Sep 2014 19:59:28 -0500 Rob Landley Have OLDTOY emit (redundant) function prototype so single.sh can build OLDTOY standalone (if it has its own config symbol). 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
Mon, 09 Jun 2014 05:51:04 -0500 Rob Landley When locale is enabled, sprintf("%.123s", str) is counting characters, not bytes, so we can't globally enable locale without opening stack/heap smashing vulnerabilities. Make commands individually request setlocale() using TOYFLAGS instead. 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
Mon, 05 May 2014 21:20:11 -0500 Rob Landley Fix bug reported by Ashwini Sharma: rebound has to be at the end or toy_init() doesn't zero the rest of the struct. draft
Wed, 09 Apr 2014 17:26:09 -0500 Isaac Dunham modprobe: cleanup, incorporate Ashwini's fix for alias loading draft
Sat, 29 Mar 2014 18:11:00 -0500 Rob Landley Group headers by standard (POSIX or LSB) or function (internationalization, networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix. 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
Sat, 02 Nov 2013 14:24:33 -0500 Rob Landley Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore. draft
Thu, 03 Oct 2013 03:18:00 -0500 Rob Landley Switch flag generation from shell to C. 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
Sat, 17 Aug 2013 02:54:58 -0500 Strake su: cleanery
Thu, 15 Aug 2013 00:58:52 -0500 Rob Landley Forgot to check in toys.h when generated/oldtoys.h went in. (Oops.)
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...
Mon, 10 Dec 2012 21:08:42 -0600 Rob Landley Add stat submission to new "pending" directory, along with infrastructure to support pending.
Sat, 01 Dec 2012 18:12:06 -0600 Rob Landley Add header that musl libc needs.
Mon, 26 Nov 2012 14:14:29 -0600 Rob Landley Cleanup i18n support (#ifdefectomy, move global init to process launch). Teach make.sh to emit "#define FLAG_x 0" for options inside disabled USE macros so we can unconditionally refer to them.
Wed, 21 Nov 2012 20:38:29 +0100 Felix Janda Make internalization support optional
Fri, 16 Nov 2012 00:35:46 -0600 Rob Landley Add rebound support to intercept error_exit() and longjmp instead.
Tue, 13 Nov 2012 17:14:08 -0600 Rob Landley Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
Thu, 08 Nov 2012 11:19:07 -0600 Felix Janda wc -m only cares about counting characters. Attached is a try on implementing it and some test cases for it. The test cases are only for UTF-8 locales.
Mon, 08 Oct 2012 00:02:30 -0500 Rob Landley New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
Tue, 14 Aug 2012 01:42:06 -0500 Rob Landley Replace TOY_LIST_LEN with more generic ARRAY_LEN()
Sun, 15 Jul 2012 13:28:51 +0200 Elie De Brauwer Adding initial implementation of taskset
Sat, 16 Jun 2012 14:19:56 -0500 Rob Landley More header fiddling: crypt.h is silly, SUSv4 requires crypt() to be prototyped in unistd.h. The fact glibc refuses to do so without a wacky #define is a glibc bug, treat it as such.