mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [regression, bisected] SysRq commands trigger without holding sysrq.
Date: Sun, 27 Jun 2010 07:12:53 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.1006270710210.7802@i5.linux-foundation.org> (raw)
In-Reply-To: <20100614145659.GA2594@elliptictech.com>



On Mon, 14 Jun 2010, Nick Bowler wrote:
>
> It appears that the new SysRq handling stuff totally ignores key
> releases: I don't have to hold down any of the keys to trigger sysrq
> commands.  For example, if I press and release left-alt, then press and
> release print screen, then press b, the system reboots.  The order in
> which I press the keys matters, but I can press other keys between them
> and still trigger sysrq commands (e.g. I can press and release alt, type
> a bunch, press print screen, then start triggering commands by pressing
> letters).
> 
> The result is that it is very easy to accidentally trigger sysrq
> commands, to the detriment of a system's usefulness.  It also renders
> the printscreen key completely useless after either alt key has been
> pressed once since system bootup (printscreen works fine until alt is
> pressed).
> 
> Bisection reveals the following, and reverting the implicated commit
> (resolving a trivial conflict) solves the issue.
> 
> 97f5f0cd8cd0a05449cbb77d1e6f02e026875802 is the first bad commit

Dmitry? I didn't see any follow-ups on this issue, should I just do the 
revert, or is there some better fix?

There's another report about this from Éric Piel.

		Linus

  reply	other threads:[~2010-06-27 14:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14 14:56 Nick Bowler
2010-06-27 14:12 ` Linus Torvalds [this message]
2010-06-27 15:05   ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.00.1006270710210.7802@i5.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome