ChangeSet 1.1114, 2003/08/25 16:42:57-03:00, m.c.p@xxxxxxxxxxxxxxx
[PATCH] Allow sysrq() via /proc/sys/kernel/magickey
Hi Marcelo,
sysrq() is a good thing to debug things, but unfortunately you need to have
physical access to the keyboard. My company for instance maintains tons of
remote machines and sometimes we need to do sysrq() too, but it's not
possible to do so the remote way.
Attached patch enables emulation of the Magic SysRq key (Alt-SysRq-key) via
the /proc interface. Just echo the desired character into the file and there
you go.
Patch from Randy Dunlap!