mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Holger Assmann <h.assmann@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] syslinux: add all hardening flags to blacklist
Date: Fri,  8 Apr 2022 15:36:04 +0200	[thread overview]
Message-ID: <20220408133604.123247-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220405131440.3230553-1-h.assmann@pengutronix.de>

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


      reply	other threads:[~2022-04-08 13:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05 13:14 [ptxdist] [PATCH] " Holger Assmann
2022-04-08 13:36 ` Michael Olbrich [this message]

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=20220408133604.123247-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=h.assmann@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