reboo(RB_HALT_SYSTEM) / exiting init?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgpi2nQjhz8Ud.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux