Subject: CVS commit: src/sbin/reboot
To: None <source-changes@netbsd.org>
From: Perry E. Metzger <perry@netbsd.org>
List: source-changes
Date: 04/04/2003 20:43:09
Module Name:	src
Committed By:	perry
Date:		Fri Apr  4 17:43:09 UTC 2003

Modified Files:
	src/sbin/reboot: reboot.c

Log Message:
1) To eliminate a race condition in which the user could conceivably
   try to quit or stop the program right at the moment after the it
   sends a TSTP to init, move the kill(1, TSTP) to right after we
   block most signals, instead of doing it just before.
2) To add TSTP to the signals we ignore. Once we start halting, it
   really is not safe to try to stop at all. You can't change your
   mind halfway through -- init will already be stopped and a TERM
   will have been sent to everything on the system within
   milliseconds of starting.
3) Adjust one comment for TNF


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 src/sbin/reboot/reboot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.