Linux Hardening
 help / color / mirror / Atom feed
From: Kees Cook <kees@outflux.net>
To: Heiko Carstens <hca@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>
Cc: linux-hardening@vger.kernel.org
Subject: Re: s390/defconfigs: set CONFIG_INIT_STACK_NONE=y
Date: Thu, 25 May 2023 11:40:34 -0700	[thread overview]
Message-ID: <ZG+rogQJO+U3kS4a@outflux.net> (raw)

Hi Heiko,

I had this[1] patch pointed out to me, but I couldn't find any discussion
about it on public lists. Can you give me some background on this? There
haven't been any general workloads identified where this has been
a problem, so I'm curious why this was seen as globally an issue on
s390. The expectation was to use __uninitialized on any variables where
this was noticed as a performance issue, and where the memory safety of
the variable could be proven. Turning it off by default seems like
rather too much, but perhaps there is something unique to s390 I don't
know about. :)

Thanks,

-Kees

[1] https://git.kernel.org/linus/124acbe275040809abfa5fbe6e25790a53d5a161

-- 
Kees Cook                                            @outflux.net

             reply	other threads:[~2023-05-25 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 18:40 Kees Cook [this message]
2023-05-26 13:42 ` s390/defconfigs: set CONFIG_INIT_STACK_NONE=y Heiko Carstens
2023-05-26 16:37   ` Kees Cook
2023-05-30  6:44     ` Sven Schnelle

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=ZG+rogQJO+U3kS4a@outflux.net \
    --to=kees@outflux.net \
    --cc=agordeev@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-hardening@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