Thu Jan 15, 2009 : Michael Deutschmann <michael@talamasca.ocis.net>

	* switch/switcher.c (cancel_requests): explicitly SIGINT
	  cancelled runsets.

	* switch/switcher.c (update_help): use SIGTERM, not SIGINT, in 
	  the normal removal case.

	* runset/main.c (main): hook and block SIGUSR1.

	* runset/main.c (base): clear SIGUSR1 whenever reached.

	* runset/simple.c (act_mrespawn): new action function.
	* runset/dispatch.h: ... declared it.
	* runset/dispatch.c: ... and added it to table.

Wed Jan 14, 2009 : Michael Deutschmann <michael@talamasca.ocis.net>

	* configure.ac: bump version to 1.12

	* Updated copyright headers on all files.

	* runset/main.c: added received_signals variable
	* runset/common.h: ... and declared it.

	* runset/main.c (main): initialize received_signals
	* runset/main.c (signal_handler): set flag for
	  current signal in received_signals.

	* runset/simple.c (act_tidy): new action function
	* runset/dispatch.h: ... declared it.
	* runset/dispatch.c: and included it in dispatch table.

	* init/init.c (main): bind signal handler to SIGHUP
	* init/init.c (main): treat SIGHUP same as SIGINT at end.
	* init/init.c (signal_handler): rewrite

Fri Dec 28, 2007 : Michael Deutschmann <michael@talamasca.ocis.net>

	* configure.ac: bump version to 1.11

	* runset/clock.c (act_clock): Send "day of week not implemented"
	  error when weekday field is not "*", rather than when it is
	  not "0".

	* request/request.c (security_check): Remove kludge that allowed
	  "--force" to assumed when "--cancel" is used.

Sun Jul 29, 2007 : Michael Deutschmann <michael@talamasca.ocis.net>

	* configure.ac: bump version to 1.10

	* Relicensed to GPLv3

	* runset/sockets.c (bind_afunix): set sun_family field properly

	* runset/sockets.c (protocols_table): Renamed "unix" to "local",
	  and added "localdg" type for PF_UNIX/SOCK_DGRAM sockets.

Fri Dec 29, 2006 : Michael Deutschmann <michael@talamasca.ocis.net>

	* configure.ac: bump version to 1.9

	* runset/clock.c (counters_to_systime): rewrite to be cleaner,
          and work correctly across DST changeovers.

Sat Aug 26, 2006 : Michael Deutschmann <michael@talamasca.ocis.net>

	* init/init.c (main): backout "/etc/rs.d/init/singleuser-sh"
          feature from 2006-01-20.  ("ctty=1" feature of runset obviates
          the need.)

Mon Aug 7, 2006 : Michael Deutschmann <michael@talamasca.ocis.net>

	* init/init.c : added <fcntl.h> include
	* init/init.c (main): Reopen the boot terminal before restarting.

	* runset/pid.c : added <sys/ioctl.h> include
	* runset/pid.c (launch) : make launched process session leader on
	  terminal if "ctty=1" specified.

Sun Aug 6, 2006 : Michael Deutschmann <michael@talamasca.ocis.net>

	* runset/pid.c (graceful_shutdown): added feature that a grace of
	  "-1" waits forever, never using SIGKILL.  Also, "0" uses
	  SIGKILL immediately.

Fri Jan 20, 2006 : Michael Deutschmann <michael@talamasca.ocis.net>

	* init/init.c (main): when /etc/rs.d/init/singleuser isn't available
	  try running "/etc/rs.d/init/singleuser-sh" before resorting to
          "/bin/sh"

Fri Jan 6, 2006 : Michael Deutschmann <michael@talamasca.ocis.net>

	* init/init.c : added <sys/ioctl.h> include
	* init/init.c (main): changed code to fallback to singleuser mode
          if /etc/rs.d/init/multiuser cannot be executed, and to try
          to launch a shell if /etc/rs.d/init/singleuser cannot be executed.
          The shell is run in a session with the boot tty as controlling
          terminal.

Thu Jan 5, 2006 : Michael Deutschmann <michael@talamasca.ocis.net>

	* init/init.c (update_handler): new function, handles Linux 2.0 update
	  duty.

	* init/init.c (main): Install update_handler instead of calling
          bdflush here.

	* init/init.c: Removed reboot_flag variable, replaced with
	  "reboot_signal".
	* init/init.c (initiate_shutdown): Rewrote to handle more signals
	* init/init.c (main): install initiate_shutdown as SIGUSR1 and
          SIGUSR2 handler (in addition to SIGINT and SIGTERM)
	* init/init.c (main): Inserted new code to take over the role of
          zombie(). (which supports new functionality)
	* init/init.c (zombie): Removed function
	* init/init.c (main): No longer install zombie as SIGCHLD handler

Tue Jan 3, 2006 : Michael Deutschmann <michael@talamasca.ocis.net>
	
	* configure.ac: Bumped revision to 1.8

	* Updated copyright headers on all files.

Wed Sep 1, 2004 : Michael Deutschmann <michael@talamasca.ocis.net>

	* configure.ac: Bumped revision to 1.7

	* Updated copyright headers on all files.

	* init/init.c: Removed unneeded volatile flag on singleuser_flag,
	  reboot_flag.

	* runset/main.c: Removed unneeded volatile flag on planned_shutdown.

	* runset/main.c (signal_handler): Removed pre-Linux 2.0.36 kludge
	  (which was already #if 0'd out anyway)

Fri Dec 26, 2003 : Michael Deutschmann <michael@talamasca.ocis.net>

	* Updated copyright headers on all files.

	* runset/service.c (make_socket): fix grammar in comment.

Tue Dec 23, 2003 : Michael Deutschmann <michael@talamasca.ocis.net>

	* request/request.c (security_check): change "!usercancel" directive
	  to be "!user/cancel".

	* request/request.c: added <grp.h> include.
	* request/request.c (user_in_group): new function.
	* request/request.c (security_check): added new directives
	  "!group" and "!group/cancel".

	* request/request.c (security_check): added special case to allow
	  1.5-compatible use of '-C' by superuser.  A warning is given if
	  it is used.
	* request/request.c (main): Removed code to imply '-f' when '-C' is
	  used by superuser.  The above change replaces it.

	* runset/service.c: add <netdb.h> include
	* runset/service.c (make_socket): insert a kludge to allow
	  gethostbyname() errors within protocol-specific hooks
	  to be correctly reported to users.
	* runset/sockets.c (afinet_bind): change a comment that refers
	  to the above problem.

Fri May 30, 2003 : Michael Deutschmann <michael@talamasca.ocis.net>

	* configure.ac: bump revision to 1.6,
			use new AC_INIT/AM_INIT_AUTOMAKE syntax.

	* runset/clock.c (synchronize): fix failure to initialize "carry"
	  variable in one situation.

	* runset/service.c (make_socket): change so that the address
	  argument passed to the protocol-specific bind function
	  is writable.
	* runset/common.h: change prototype of bind member in
	  "struct protocol" accordingly.
	* runset/sockets.c (afinet_bind, afunix_bind): change prototype of
	  these functions accordingly.

	* runset/sockets.c: add <arpa/inet.h> include
	* runset/sockets.c (afinet_bind): add facility to select IP
	  address to bind to.  Also, set errno to 0 when returing -1 due
	  to getprotobyname() failure.

	* request/request.c (security_check): add mode argument so that
	  seperate rules may be applied for the '-C' function.  Support new
	  '!usercancel' directive.
	* request/request.c (main): allow unpriveledged users to use '-C'
	  if allowed by the specific runset, using new argument to security

	* request/request.c (main): Update '--help' text, correcting and
	  breaking a too long line, and no longer flagging '-C' as
	  superuser only.

Sun Dec 2, 2001 : Michael Deutschmann <michael@talamasca.ocis.net>
 
	* configure.in: update for autoconf 2.5x, and rename to...
	* configure.ac: this.

	* configure.ac: bump revision to 1.5. (Note: version 1.5 actually 
	  begins with the Dec 1 changes).

	* runset/clock.c (act_clock): Fixed error in yesterday's changes.

	* request/request.c (main): Fixed errors in usage text printf()
	* switch/control.c (main): Fixed error in usage text printf()

	* runset/utmp.c (log_utmp): removed unused variable.

	* runset/common.h: comment updates about environment structure.

	* runset/pid.c (transfer_environment): Added explicit cast to avoid
          contravariance warnings on putenv().

	* Makefile.am: fix dist-hook so it works for seperate build 
          directory.

Sat Dec 1, 2001 : Michael Deutschmann <michael@talamasca.ocis.net>

	* runset/clock.c (synchronize): fix bugs involving carryover. 
          The sense of the function's return value has also been inverted.
	* runset/clock.c (act_clock): update for new return value convention
          of synchronize().

	* runset/clock.c (act_clock): Return an error on attempt to use 
	  day-of-week based clocking, which is not implemented.

	* runset/clock.c (act_clock): indenting fixes.
	* runset/command.c (next_command): indenting fixes.
	* runset/mount.c (act_filesystem): indenting fixes.
	* runset/service.c (act_service,act_pass_socket): indenting fixes.
	* runset/simple.c (act_once,act_watch,act_wait): indenting fixes.

Sat Oct 21, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>

	* init/init.c (zombie, main): Conditionalize calls to bdflush() 
	  so they may be disabled for Linux 2.2.

	* init/init_flush.c: New file, which includes init.c but disables 
          bdflush.

	* init/Makefile.am: Added init_flush program.  Made both it and 
	  init noinst.

	* switch/control.c: Indentation/cosmetic fixes.

Mon Oct 16, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>

	* runset/main.c (main): Fix goofup in options-as-arguments fix.

	* runset/main.c (main): Change can't-open-file error message to
          to call the file-with-commands-in-it a "script file", not 
          a "config file".

Sat Sep 23, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>

	* runset/main.c (main): Prevent options from being counted
				as arguments.
	* runset/main.c (main): Redo --help/--version support.
	* runset/main.c (main): Move code that sets CLOEXEC on config file
				after the error-check on open.

	* request/request.c (main): Redo --help/--version support.

	* switch/control.c (main): Redo --help/--version support.
	* switch/control.c (main): Prevent options from being counted as
				   arguments.

Fri Sep 22, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>

	* runset/main.c (signal_handler, main): Added support for 
	  trapping SIGHUP, only if "nohup" not in use.

Sun May 21, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>

	* runset/simple.c (act_together,act_done): added functions.
	* runset/dispatch.h: added prototypes for above.
	* runset/dispatch.c: added above as new commands.
	
	* runset/simple.c: added <sys/syslog.h> include.

Mon May 1, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>

	* switch/control.c: exported "listening_socket"
	* switch/common.h: as above.

	* switch/control.c: comment update for "nonblocking"

	* switch/switch.c (launch_runset): Removed unneccesary 
          "signal(SIGCHLD,SIG_DFL)".

	* switch/switch.c (launch_runset): close listening_socket explicitly
	* switch/control.c (main): no longer bother with FD_CLOEXEC.

	* switch/control.c: drop include of <fcntl.h> 

Fri Apr 28, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>

	* runset/main.c (main): Install signal handlers as SA_RESTART. 
          (change made for consistency -- should make no difference in 
           practice.)

Wed Apr 26, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>

	* configure.in: Bump revision to 1.4

	* switch/control.c (term_handler): Rewritten to take over, never 
          returning.  global variable keep_going is eliminated.
	* switch/control.c (main): Removed code now in term_handler and 
          references to keep_going.  Changed signals to use SA_RESTART and 
          mask each other out. 
  	* switch/control.c (main): changed local variable lsocket to global 
          variable lsocket, so that term_handler can close it.

	* switch/control.c (main): Use sa.sa_mask instead of blocking, as 
          they are the same.  blocking is now removed (it was global).

	* switch/control.c (main): Block out signals while adding preset 
          runsets.

	* switch/control.c (main): Do not check for EINTR.

Tue Jan 11, 2000 : Michael Deutschmann <michael@talamasca.ocis.net>
	
	* Updated copyright headers on all source files.

Thu Dec 16, 1999 : Michael Deutschmann <michael@talamasca.ocis.net>

	* configure.in: Bump revision to 1.3

	* switch/control.c (main): Properly terminate lopts array.

	* runset/main.c (main): Properly terminate lopts array.

	* switch/control.c (main): Added explicit include of <sys/stat.h>

	* switch/control.c (main): cosmetic fixes (on permission-setting code)

	* init/init.c (main), runset/pid.c (set_persona),
	  runset/pid.c (launch), switch/switcher.c (launch_runset): 
          Changed exit in child process to _exit. 
          Also uniformly set 128 as return code for failure to exec.

Tue Nov 21, 1999 : Michael Deutschmann <michael@talamasca.wkpowerlink.com>
	
	* configure.in: Bump revision to 1.2

	* switch/control.c (main): Set permissions on /dev/switch.

	* switch/control.c (main): Put quotes on /dev/switch filename in 
	  log messages
				
Tue Oct 19, 1999 : Michael Deutschmann <michael@talamasca.wkpowerlink.com>

	* runset/clock.c (act_clock): Correct "now > next" to "now >= next"

	* runset/clock.c (counters_to_systime): Use localtime to initialize
          tm structure before using.

	* runset/common.h: remove accidently left debugging line that 
          disabled syslog.

	* runset/clock.c (check_31): made static.

	* runset/mount.c (get_fs_flags): made static.

	* runset/main.c (main): made lopts constant.

	* runset/init.c (reboot_flag, singleuser_flag, initiate_shutdown):
 	  made static.

	* switch/control.c (keep_going): made static

	* switch/switcher.c (runsets): made static

	* request/request.c (main): made lopts constant and static.

	* runset/sockets.c: added #define _GNU_SOURCE

	* Updated/added copyright headers on all source files
	* Re-indented all source files

Mon Oct 18, 1999 : Michael Deutschmann <michael@talamasca.wkpowerlink.com>

	* configure.in: bump revision to 1.1

	* runset/lines.c (read_vector): use strtok instead of strsep.

	* runset/utmp.c (act_openutmp): Remove C++-type comment.
	
	* runset/utmp.c (log_utmp): Use updwtmp(), not explicit writes.
	  (permissions of WTMP file are no longer enforced by runset.)

	* runset/utmp.c (act_openutmp,log_utmp): Use _PATH_UTMP,_PATH_WTMP, 
          instead of UTMP_FILE, WTMP_FILE.

	* runset/clock.c (decode): Actually respect 'offset' argument.
	
	* runset/clock.c (counters_to_systime, act_clock): use local time, 
	  not universal time.

	* switch/control.c (main) : Fix Usage/Version strings.

Sun Apr 18, 1999 : Michael Deutschmann <michael@talamasca.wkpowerlink.com>

	* Inaugural public release (1.0)

 
