mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] syslinux: add all hardening flags to blacklist
@ 2022-04-05 13:14 Holger Assmann
  2022-04-08 13:36 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Holger Assmann @ 2022-04-05 13:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Holger Assmann, Marc Kleine-Budde

By not blacklisting TARGET_COMPILER_RECORD_SWITCHES parts of the
bootloader become too big, with objcopy results then having the
wrong size.

Since we are handling a bootloader here, we should further disable
any hardening option whatsoever.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Holger Assmann <h.assmann@pengutronix.de>
---
 rules/syslinux.make | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rules/syslinux.make b/rules/syslinux.make
index 550fa35a8..0d17470d3 100644
--- a/rules/syslinux.make
+++ b/rules/syslinux.make
@@ -32,8 +32,7 @@ SYSLINUX_MAKE_ENV := \
 	ICECC=no
 
 SYSLINUX_WRAPPER_BLACKLIST := \
-	TARGET_HARDEN_STACKCLASH \
-	TARGET_HARDEN_PIE
+	$(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
 SYSLINUX_MAKE_OPT := $(CROSS_ENV_PROGS)
 SYSLINUX_INSTALL_OPT := install INSTALLROOT=$(SYSLINUX_PKGDIR)
 
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

end of thread, other threads:[~2022-04-08 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 13:14 [ptxdist] [PATCH] syslinux: add all hardening flags to blacklist Holger Assmann
2022-04-08 13:36 ` [ptxdist] [APPLIED] " Michael Olbrich

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