reboo(RB_HALT_SYSTEM) / exiting init?
From: Nico Schottelius
Date: Wed Jun 22 2005 - 03:32:31 EST
Hello,
if I call reboot(RB_HALT_SYSTEM) and do _exit(0) after that
(from init), I get a kernel panic on one system (x86, 2.6.10)
and no kernel panic on another system (uml, 2.6.11.11).
a) What is the correct behaviour?
b) May I not _exit() as init after I called reboot() with
RB_HALT_SYSTEM, RB_POWER_OFF or RB_AUTOBOOT?
Greetings,
Nico
--
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org
Attachment:
pgp00000.pgp
Description: PGP signature