What is the "swapper" process? I don't see it, neither on 2.0.30 or 2.1.44-3
[checks linux/init/main.c] ah, I see. Swapper is really pid#1, but in
kernel mode. It spawns /linuxrc, and after that exits it executes /sbin/init.
Now it's a bit more clear to me. Probably the kernel needs to be fixed
so that the SIGINT gets sent to linuxrc_pid (a new global variable) if
it is set and otherwise to process#1. That's probably the solution that
makes the most sense. Then linuxrc is free to call ctrlaltdel to setup
"soft" reboot if so required, and it can even catch SIGINT then to do
something reasonable if ctrlaltdel is pressed.
Mike.
-- | Miquel van Smoorenburg | "I need more space" "Well, why not move to Texas" | | miquels@cistron.nl | "No, on my account, stupid." "Stupid? Uh-oh.." | | PGP fingerprint: FE 66 52 4F CD 59 A5 36 7F 39 8B 20 F1 D6 74 02 |