[PATCH] 2.4 and 2.5: remove Alt-Sysrq-L
authorRussell King <rmk@arm.linux.org.uk>
Fri, 15 Mar 2002 06:44:22 +0000 (22:44 -0800)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Fri, 15 Mar 2002 06:44:22 +0000 (22:44 -0800)
commitf9deb9e6016750e012953680b5f044e9fb76ff5a
tree79bd9a762dba718278bb0ddc8babcca65ce5e27f
parentbe4808e00729ab6e8c0f7ab66d473693cf28e438
[PATCH] 2.4 and 2.5: remove Alt-Sysrq-L

The following patch removes Alt-Sysrq-L and its associated hack to kill
of PID1, the init process.  This is 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.
drivers/char/sysrq.c