linux-hardening.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Kees Cook <keescook@chromium.org>,
	Ard Biesheuvel <ardb@kernel.org>,
	linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org,
	clang-built-linux@googlegroups.com
Subject: [PATCH 0/3] lib/test_stackinit: Add assigned initializers
Date: Fri, 23 Jul 2021 15:19:30 -0700	[thread overview]
Message-ID: <20210723221933.3431999-1-keescook@chromium.org> (raw)

Hi,

This is a series of changes to test_stackinit.ko to expand the tests and
provide a stand-alone build, in support of the recent work in GCC for
the -ftrivial-auto-var-init={zero,pattern} option[1].

Thanks,

-Kees

[1] https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575224.html

Kees Cook (3):
  lib/test_stackinit: Fix static initializer test
  lib/test_stackinit: Allow building stand-alone
  lib/test_stackinit: Add assigned initializers

 lib/test_stackinit.c | 252 +++++++++++++++++++++++++++++++------------
 1 file changed, 185 insertions(+), 67 deletions(-)

-- 
2.30.2


             reply	other threads:[~2021-07-23 22:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23 22:19 Kees Cook [this message]
2021-07-23 22:19 ` [PATCH 1/3] lib/test_stackinit: Fix static initializer test Kees Cook
2021-07-23 22:19 ` [PATCH 2/3] lib/test_stackinit: Allow building stand-alone Kees Cook
2021-07-23 22:19 ` [PATCH 3/3] lib/test_stackinit: Add assigned initializers Kees Cook

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=20210723221933.3431999-1-keescook@chromium.org \
    --to=keescook@chromium.org \
    --cc=ardb@kernel.org \
    --cc=arnd@arndb.de \
    --cc=clang-built-linux@googlegroups.com \
    --cc=linux-hardening@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).