cvs commit: src/sbin/reboot reboot.c

Daniel O'Connor doconnor at
Mon Aug 7 02:25:14 UTC 2006

On Monday 07 August 2006 01:52, Dag-Erling Smørgrav wrote:
> Bruce M Simpson <bms at> writes:
> >   Log:
> >   Block a variety of signals which may afffect reboot(8), before killing
> >   init(8), to avoid losing a race to them and dying before being able
> >   to call reboot(2).
> Wouldn't it be more logical to have init(8) perform the reboot(2) call
> upon receiving a signal from reboot(8)?

You wouldn't be able to reboot the system in single user mode then would you?
(Unless you are local and your keymap allows ctrl-alt-del to work anyway)

Daniel O'Connor software and network engineer
for Genesis Software -
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the cvs-src mailing list