From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 08 Apr 2022 15:37:33 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nconv-00BuOA-3D for lore@lore.pengutronix.de; Fri, 08 Apr 2022 15:37:33 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ncons-000218-PJ; Fri, 08 Apr 2022 15:37:32 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncomT-0008Qd-Pi; Fri, 08 Apr 2022 15:36:05 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ncomU-001oSQ-I1; Fri, 08 Apr 2022 15:36:05 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ncomS-000W4d-F3; Fri, 08 Apr 2022 15:36:04 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 8 Apr 2022 15:36:04 +0200 Message-Id: <20220408133604.123247-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220405131440.3230553-1-h.assmann@pengutronix.de> References: <20220405131440.3230553-1-h.assmann@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] syslinux: add all hardening flags to blacklist X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Holger Assmann Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as d8e2317ddac9db2b4c902c37772b1c166deb2e90. Michael [sent from post-receive hook] On Fri, 08 Apr 2022 15:36:04 +0200, Holger Assmann 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 > Signed-off-by: Holger Assmann > Message-Id: <20220405131440.3230553-1-h.assmann@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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