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.
Sat, 28 Apr 2012 01:22:50 -0500 Rob Landley Georgi pointed out that some overly-pedantic C libraries require you to include both "string.h" and "strings.h". (Most don't.)
Tue, 24 Apr 2012 23:09:27 +0200 Elie De Brauwer Adding initial version of login.c
Sat, 14 Apr 2012 21:43:24 -0500 Rob Landley Comment and whitespace changes.
Mon, 12 Mar 2012 00:26:23 -0500 Rob Landley Yet another header for technical susv4 compliance.
Wed, 07 Mar 2012 19:04:50 -0600 Rob Landley Consolidate headers.
Sat, 18 Feb 2012 15:33:27 +0100 Elie De Brauwer Adding swapon and swapoff
Fri, 17 Feb 2012 12:05:26 -0600 Rob Landley Sigh: moving a header to toys.h isn't very useful if I forget to check in toys.h.
Sat, 04 Feb 2012 10:39:17 -0600 Rob Landley Cleaning out one more old gpl notice that no longer applies after the switch to BSD in november.
Tue, 05 Jan 2010 12:17:05 -0600 Rob Landley Add TOYBOX_SUID.
Thu, 06 Aug 2009 20:39:28 -0500 Rob Landley Make a warning go away on Fedora 11.
Sun, 25 Jan 2009 16:59:14 -0600 Rob Landley Comment tweaks.
Sat, 15 Nov 2008 05:17:23 -0600 Rob Landley Add netcat server mode, -l, -L, and -t.
Tue, 12 Feb 2008 19:05:44 -0600 Rob Landley Add TOYFLAG_UMASK.
Tue, 12 Feb 2008 17:36:13 -0600 Rob Landley Add toys.optc, an argv-style count for toys.optargs.
Sun, 20 Jan 2008 17:25:44 -0600 Rob Landley Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()
Sat, 19 Jan 2008 17:43:27 -0600 Rob Landley Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
Sat, 19 Jan 2008 17:08:39 -0600 Rob Landley Zap toys/Config.in and instead create generated/Config.in from contents of
Thu, 10 Jan 2008 14:40:13 -0600 Rob Landley Move some generated files into the "generated" subdirectory.
Fri, 28 Dec 2007 03:29:33 -0600 Rob Landley Make touch work reliably when file doesn't exist and clean up headers a bit.
Tue, 16 Oct 2007 01:49:05 -0500 Rob Landley Need to commit this too. :)
Wed, 15 Aug 2007 11:03:50 -0500 Rob Landley Remove strings.h which Maximilian Attems points out is obsolete:
Thu, 17 May 2007 02:38:27 -0400 Rob Landley Add sleep.
Mon, 23 Apr 2007 15:45:55 -0400 Rob Landley Add sync and an incomplete version of mdev.
Sat, 03 Feb 2007 14:10:00 -0500 Rob Landley Teach build to build only the toys/*.c selected in .config, and teach
Sun, 28 Jan 2007 04:54:01 -0500 Rob Landley More work on mke2fs.
Tue, 23 Jan 2007 19:54:01 -0500 Rob Landley More work on mke2fs.
Tue, 23 Jan 2007 13:20:38 -0500 Rob Landley More random progress on mke2fs. Nothing to see yet.
Thu, 18 Jan 2007 21:54:08 -0500 Rob Landley Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, which
Sun, 14 Jan 2007 20:20:06 -0500 Rob Landley Add start of mke2fs/gene2fs, and some other stuff I've been working on.
Sat, 25 Nov 2006 16:50:00 -0500 Rob Landley Add my old micro-bunzip library. Needs some cleanup...