Re: [PATCH] 2.4 and 2.5: remove Alt-Sysrq-L

Russell King (rmk@arm.linux.org.uk)
Fri, 15 Mar 2002 14:28:55 +0000


On Fri, Mar 15, 2002 at 02:11:04PM +0000, David Woodhouse wrote:
> rmk@arm.linux.org.uk said:
> > The following patch removes Alt-Sysrq-L and its associated hack to
> > kill of PID1, the init process. This is a mis-feature.
>
> This is not a mis-feature.
>
> > If PID1 is killed, the kernel immediately enters an infinite loop in
> > the depths of do_exit() with interrupts disabled, completely locking
> > the machine. Obviously you can only reach for the reset button or
> > power switch after this, leaving you with dirty filesystems.
>
> This is a mis-feature. Leaving you without even the facility to use SysRq
> any further is just insane.

Well, I've tried this approach, Linus rejected it.

If you'd like to take up this problem, be my guest.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/