mbox series

[v10,0/3] Add support for stack-protector

Message ID 20210411092158.5244-1-xypron.glpk@gmx.de
Headers show
Series Add support for stack-protector | expand

Message

Heinrich Schuchardt April 11, 2021, 9:21 a.m. UTC
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