* [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
* Re: [ptxdist] [APPLIED] syslinux: add all hardening flags to blacklist
2022-04-05 13:14 [ptxdist] [PATCH] syslinux: add all hardening flags to blacklist Holger Assmann
@ 2022-04-08 13:36 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-04-08 13:36 UTC (permalink / raw)
To: ptxdist; +Cc: Holger Assmann
Thanks, applied as d8e2317ddac9db2b4c902c37772b1c166deb2e90.
Michael
[sent from post-receive hook]
On Fri, 08 Apr 2022 15:36:04 +0200, Holger Assmann <h.assmann@pengutronix.de> wrote:
> 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>
> Message-Id: <20220405131440.3230553-1-h.assmann@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/syslinux.make b/rules/syslinux.make
> index 550fa35a8793..0d17470d36a9 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)
>
_______________________________________________
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