Messages in this thread | | | Subject | Re: [RFC][PATCH] sysrq-j: emergency shell | From | Matt Keenan <> | Date | Sat, 22 Nov 2008 00:42:16 +0000 |
| |
On Sat, 2008-11-22 at 00:51 +0100, Vegard Nossum wrote: > >From 57adfe62983db316fceba1b64258fd3d8830bcd8 Mon Sep 17 00:00:00 2001 > From: Vegard Nossum <vegard.nossum@gmail.com> > Date: Sat, 22 Nov 2008 00:25:57 +0100 > Subject: [PATCH] sysrq-j: emergency shell > > This patch adds support for "SysRq-j", which invokes an emergency > root shell in the current console. > > Please don't bite my head off for abusing the file API; documentation > was rather sparse! (Corrections are welcome, though.) > > It seems that keyboard input will go to the shell only half of the > time; the other half goes to whatever program was running there in > the first place. I tried to kill the other users of the TTY using > TIOCSCTTY, but it seems not to have worked. Any ideas? >
Have you considered SIGTSTP?
Matt
| |