reboo(RB_HALT_SYSTEM) / exiting init?
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
Signature · 3 lines
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