public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v10 0/3] Add support for stack-protector
@ 2021-04-11  9:21 Heinrich Schuchardt
  2021-04-11  9:21 ` [PATCH v10 1/3] test: fix test/dm/regmap.c Heinrich Schuchardt
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Heinrich Schuchardt @ 2021-04-11  9:21 UTC (permalink / raw)
  To: u-boot

Add support for stack protector for UBOOT, SPL, and TPL
as well as new pytest for stackprotector

Two preparatory patches are needed.
The first one avoids random failures of a unit test.
The second cleans up the usage of CFLAGS_NON_EFI.

The series was passes Gitlab CI:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/7133

v10:
	Preparatory patches.
	Fix build errors.

Heinrich Schuchardt (2):
  test: fix test/dm/regmap.c
  x86: correct usage of CFLAGS_NON_EFI

Joel Peshkin (1):
  Add support for stack-protector

 MAINTAINERS                          |  7 +++++++
 Makefile                             |  5 +++++
 arch/arm/config.mk                   |  3 ++-
 arch/riscv/lib/Makefile              |  1 +
 arch/x86/config.mk                   | 10 ++++++----
 cmd/Kconfig                          |  9 +++++++++
 cmd/Makefile                         |  1 +
 cmd/stackprot_test.c                 | 19 +++++++++++++++++++
 common/Kconfig                       | 17 +++++++++++++++++
 common/Makefile                      |  1 +
 common/stackprot.c                   | 20 ++++++++++++++++++++
 configs/sandbox_defconfig            |  2 ++
 scripts/Makefile.spl                 |  6 ++++++
 test/dm/regmap.c                     |  9 +++++----
 test/py/tests/test_stackprotector.py | 14 ++++++++++++++
 15 files changed, 115 insertions(+), 9 deletions(-)
 create mode 100644 cmd/stackprot_test.c
 create mode 100644 common/stackprot.c
 create mode 100644 test/py/tests/test_stackprotector.py

--
2.30.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-04-20 14:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-11  9:21 [PATCH v10 0/3] Add support for stack-protector Heinrich Schuchardt
2021-04-11  9:21 ` [PATCH v10 1/3] test: fix test/dm/regmap.c Heinrich Schuchardt
2021-04-14 19:38   ` Simon Glass
2021-04-20 14:21   ` Tom Rini
2021-04-11  9:21 ` [PATCH v10 2/3] x86: correct usage of CFLAGS_NON_EFI Heinrich Schuchardt
2021-04-14 19:38   ` Simon Glass
2021-04-20 14:21   ` Tom Rini
2021-04-11  9:21 ` [PATCH v10 3/3] Add support for stack-protector Heinrich Schuchardt
2021-04-20 14:22   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox