All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Rahul Priolkar <rahul.priolkar@asu.edu>
Cc: Jiri Slaby <jirislaby@kernel.org>,
	linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH] tty: sysrq: serialize sysrq_toggle_support()
Date: Wed, 2 Dec 2026 10:57:20 +0100	[thread overview]
Message-ID: <2026120206-carefully-yearbook-5d5d@gregkh> (raw)
In-Reply-To: <6b0fe37a.fa539071.2f0826.409f@mx.google.com>

On Wed, Dec 02, 2026 at 01:23:06AM -0800, Rahul Priolkar wrote:
> Hi,
> 
> Thanks for the response. Here's the patch.
> 
> -- >8 --
> 
> Concurrent enable-mask updates in sysrq_toggle_support() can both
> register the static SysRq input handler, corrupting input_handler_list.

Wait, this is a root-only thing, right?  So just "don't do that"?  :)


      parent reply	other threads:[~2026-12-02  9:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  8:18 [BUG] tty: sysrq: duplicate input handler registration on v7.4-rc5 Rahul Priolkar
2026-12-02  9:00 ` Greg Kroah-Hartman
2026-12-02  9:23   ` [PATCH] tty: sysrq: serialize sysrq_toggle_support() Rahul Priolkar
2026-12-02  9:36     ` sashiko-bot
2026-12-02  9:47     ` Greg Kroah-Hartman
2026-12-02  9:57     ` Greg Kroah-Hartman [this message]

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=2026120206-carefully-yearbook-5d5d@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jirislaby@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=rahul.priolkar@asu.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.