Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/5] Hardening Wrapper Updates and Test
@ 2018-08-30  3:34 Matt Weber
  2018-08-30  3:34 ` [Buildroot] [PATCH v2 1/5] toolchain/toolchain-wrapper: add link wrapper Matt Weber
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Matt Weber @ 2018-08-30  3:34 UTC (permalink / raw)
  To: buildroot

This series looks to complete the implementation and migration of
hardening related options to the compiler and (new) linker wrapper.

The series provides runtime testing for RELRO/SSP/FORTIFY.

v1 -> v2
 - There were issues when I started regression testing where
   packages where providing multiple pie/pic/shared args on
   a single call of gcc/ld.

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
CC: Jan Kundr?t <jan.kundrat@cesnet.cz>
CC: Stefan S?rensen <stefan.sorensen@spectralink.com>

Matt Weber (5):
  toolchain/toolchain-wrapper: add link wrapper
  toolchain/toolchain-wrapper: add BR2_RELRO_FULL support
  toolchain/toolchain-wrapper: add BR2_SSP_* support
  toolchain/toolchain-wrapper: add BR2_FORTIFY_SOURCE_* support
  support/testing/tests/core: SSP & hardening flags

 .gitlab-ci.yml                                     |   6 +
 package/Makefile.in                                |  19 +-
 package/gcc/gcc.mk                                 |  12 +-
 support/testing/tests/core/test_hardening.py       | 110 +++++++++
 .../toolchain-external/pkg-toolchain-external.mk   |  12 +-
 toolchain/toolchain-wrapper-linker.c               | 273 +++++++++++++++++++++
 toolchain/toolchain-wrapper.c                      |  58 ++++-
 toolchain/toolchain-wrapper.mk                     |  24 ++
 8 files changed, 495 insertions(+), 19 deletions(-)
 create mode 100644 support/testing/tests/core/test_hardening.py
 create mode 100644 toolchain/toolchain-wrapper-linker.c

-- 
1.9.1

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

end of thread, other threads:[~2018-08-30 12:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-30  3:34 [Buildroot] [PATCH v2 0/5] Hardening Wrapper Updates and Test Matt Weber
2018-08-30  3:34 ` [Buildroot] [PATCH v2 1/5] toolchain/toolchain-wrapper: add link wrapper Matt Weber
2018-08-30  7:53   ` Thomas Petazzoni
2018-08-30 12:48     ` Matthew Weber
2018-08-30  3:34 ` [Buildroot] [PATCH v2 2/5] toolchain/toolchain-wrapper: add BR2_RELRO_FULL support Matt Weber
2018-08-30  3:34 ` [Buildroot] [PATCH v2 3/5] toolchain/toolchain-wrapper: add BR2_SSP_* support Matt Weber
2018-08-30  3:34 ` [Buildroot] [PATCH v2 4/5] toolchain/toolchain-wrapper: add BR2_FORTIFY_SOURCE_* support Matt Weber
2018-08-30  3:34 ` [Buildroot] [PATCH v2 5/5] support/testing/tests/core: SSP & hardening flags Matt Weber

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