From: Holger Assmann <h.assmann@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Holger Assmann <h.assmann@pengutronix.de>,
Marc Kleine-Budde <mkl@pengutronix.de>
Subject: [ptxdist] [PATCH] syslinux: add all hardening flags to blacklist
Date: Tue, 5 Apr 2022 15:14:40 +0200 [thread overview]
Message-ID: <20220405131440.3230553-1-h.assmann@pengutronix.de> (raw)
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
next reply other threads:[~2022-04-05 13:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 13:14 Holger Assmann [this message]
2022-04-08 13:36 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220405131440.3230553-1-h.assmann@pengutronix.de \
--to=h.assmann@pengutronix.de \
--cc=mkl@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox