mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* reboo(RB_HALT_SYSTEM) / exiting init?
@ 2005-06-22  8:15 Nico Schottelius
  0 siblings, 0 replies; only message in thread
From: Nico Schottelius @ 2005-06-22  8:15 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

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 #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-22  8:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-22  8:15 reboo(RB_HALT_SYSTEM) / exiting init? Nico Schottelius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®