Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@redhat.com>
To: Henry Martin <bsdhenrymartin@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Christian Brauner <brauner@kernel.org>,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] signal: initialize k_sigaction in sys_signal()
Date: Mon, 23 Nov 2026 12:56:16 +0100	[thread overview]
Message-ID: <awQp4FzrABb9s9Be@redhat.com> (raw)
In-Reply-To: <20261123091329.3658965-1-bsdhenrymartin@gmail.com>

On 11/23, Henry Martin wrote:
>
> Zero-initialize the whole struct so the fix also covers architectures
> that keep the restorer in ka_restorer.

...

>  SYSCALL_DEFINE2(signal, int, sig, __sighandler_t, handler)
>  {
> -	struct k_sigaction new_sa, old_sa;
> +	struct k_sigaction new_sa = { }, old_sa;
>  	int ret;

Acked-by: Oleg Nesterov <oleg@redhat.com>


      reply	other threads:[~2026-11-23 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  9:13 [PATCH] signal: initialize k_sigaction in sys_signal() Henry Martin
2026-11-23 11:56 ` Oleg Nesterov [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=awQp4FzrABb9s9Be@redhat.com \
    --to=oleg@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=brauner@kernel.org \
    --cc=bsdhenrymartin@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@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