From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/5] add stack protector and guard page support
Date: Thu, 21 Sep 2023 10:49:07 +0200 [thread overview]
Message-ID: <20230921084907.GG637806@pengutronix.de> (raw)
In-Reply-To: <20230911150900.3584523-1-a.fatoum@pengutronix.de>
On Mon, Sep 11, 2023 at 05:08:55PM +0200, Ahmad Fatoum wrote:
> GCC's strong stack protector feature is increasingly used as default in
> many distros, because of comparatively low overhead. This series adds
> support in barebox to catch stack frame overflow as well as a guard
> page feature to catch stack region overflow.
>
> Ahmad Fatoum (5):
> include: move PAGE_ definitions into linux/pagemap.h
> ARM: mark early C setup functions as __prereloc
> lib: add stackprotector support
> ARM: mmu: catch stack overflowing into TTB with stack guard page
> commands: add stacksmash command for causing stack overflows
Applied, thanks
Sascha
>
> Makefile | 3 -
> arch/arm/cpu/common.c | 2 +-
> arch/arm/cpu/interrupts_32.c | 21 +++++-
> arch/arm/cpu/interrupts_64.c | 38 +++++++---
> arch/arm/cpu/mmu_32.c | 16 +++++
> arch/arm/cpu/mmu_64.c | 15 ++++
> arch/arm/cpu/start.c | 4 +-
> arch/arm/include/asm/barebox-arm.h | 18 ++++-
> arch/arm/include/asm/reloc.h | 2 +-
> arch/arm/lib64/string.c | 2 +-
> commands/Kconfig | 6 ++
> commands/Makefile | 1 +
> commands/stacksmash.c | 58 ++++++++++++++++
> include/common.h | 6 +-
> include/linux/compiler_types.h | 21 ++++++
> include/linux/pagemap.h | 8 ++-
> lib/Kconfig | 2 +
> lib/Kconfig.hardening | 108 +++++++++++++++++++++++++++++
> lib/Makefile | 1 +
> lib/stackprot.c | 32 +++++++++
> lib/string.c | 2 +-
> scripts/Makefile.lib | 10 +++
> 22 files changed, 350 insertions(+), 26 deletions(-)
> create mode 100644 commands/stacksmash.c
> create mode 100644 lib/Kconfig.hardening
> create mode 100644 lib/stackprot.c
>
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2023-09-21 8:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 15:08 Ahmad Fatoum
2023-09-11 15:08 ` [PATCH 1/5] include: move PAGE_ definitions into linux/pagemap.h Ahmad Fatoum
2023-09-11 15:08 ` [PATCH 2/5] ARM: mark early C setup functions as __prereloc Ahmad Fatoum
2023-09-11 15:08 ` [PATCH 3/5] lib: add stackprotector support Ahmad Fatoum
2023-09-21 8:52 ` [PATCH] fixup! " Ahmad Fatoum
2023-09-11 15:08 ` [PATCH 4/5] ARM: mmu: catch stack overflowing into TTB with stack guard page Ahmad Fatoum
2023-09-11 15:09 ` [PATCH 5/5] commands: add stacksmash command for causing stack overflows Ahmad Fatoum
2023-09-12 4:48 ` Thorsten Scherer
2023-09-11 15:47 ` [PATCH] fixup! lib: add stackprotector support Ahmad Fatoum
2023-09-14 9:14 ` [PATCH] fixup! commands: add stacksmash command for causing stack overflows Ahmad Fatoum
2023-09-14 10:22 ` Thorsten Scherer
2023-09-14 11:05 ` Ahmad Fatoum
2023-09-21 8:49 ` Sascha Hauer [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=20230921084907.GG637806@pengutronix.de \
--to=sha@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.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