From: Nico Schottelius <nico-kernel@schottelius.org>
To: linux-kernel@vger.kernel.org
Subject: reboo(RB_HALT_SYSTEM) / exiting init?
Date: Wed, 22 Jun 2005 10:15:20 +0200 [thread overview]
Message-ID: <20050622081520.GN2779@schottelius.org> (raw)
[-- 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 --]
reply other threads:[~2005-06-22 8:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050622081520.GN2779@schottelius.org \
--to=nico-kernel@schottelius.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®