Skip to content

Hardening build flags fixes

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am 20180719142717.62a09ca7@windsurf

Versions newest first

  1. v2 Latest2 of 3 patches 0 repliesNew

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3package/Makefile.in: Do not use CPPFLAGS for hardening options+0 -00 replies
2/3package/Makefile.in: Add missing options to LDFLAGS for full RELRO build+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/3] Hardening build flags fixes

Hello Stefan,

Quoted 7 lines · Stefan S?rensen

This series provides a number of fixes and cleanups of the build flags releated to hardened builds.

Changes v1->v2:
* Drop patch removing linker flags from TARGET_CFLAGS
* Use a single spec file for compiler and linker flags

Quoted 5 lines

Stefan S?rensen (3):
package/Makefile.in: Do not use CPPFLAGS for hardening options package/Makefile.in: Add missing options to LDFLAGS for full RELRO
build
package/Makefile.in: Use gcc spec files for PIE build flags

These patches were also sent by Matt Weber recently, the first two got Reviewed-by from Arnout, the third one has questions:

http://patchwork.ozlabs.org/project/buildroot/list/?series=54943

I'm a bit confused as to which patches to apply. Are your patches unchanged compared to what Matt Weber sent ?

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com