]> git.hungrycats.org Git - linux/commit
[PATCH] Make /proc/sysrq-trigger ignore sysrq_enabled
authorAndrew Morton <akpm@osdl.org>
Sat, 15 May 2004 03:24:15 +0000 (20:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 15 May 2004 03:24:15 +0000 (20:24 -0700)
commitdd3871ec53cb626920662f7270ff90083f2d3097
tree76ed335024c2ebf8b9743a13c1d8e78729dde9be
parent04229e509312406d40f8d4101383eb2c5c7e1c25
[PATCH] Make /proc/sysrq-trigger ignore sysrq_enabled

It's silly that writing to /proc/sysrq-trigger does nothing if you haven't
enabled /proc/sys/kernel/sysrq.  So provide a new __handle_sysrq() which
ignores the sysrq_enabled check.

The patch also withdraws __handle_sysrq_nolock() from the kernel API.  It had
no callers.
drivers/char/sysrq.c
fs/proc/proc_misc.c
include/linux/sysrq.h