From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonata.ens-lyon.org (domu-toccata.ens-lyon.fr [140.77.166.138]) by sourceware.org (Postfix) with ESMTPS id F15263858C20 for ; Sat, 27 May 2023 21:07:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F15263858C20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id A585020171; Sat, 27 May 2023 23:07:11 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VI4nbndmoTAt; Sat, 27 May 2023 23:07:11 +0200 (CEST) Received: from begin (lfbn-bor-1-1163-184.w92-158.abo.wanadoo.fr [92.158.138.184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id 6D7942016E; Sat, 27 May 2023 23:07:11 +0200 (CEST) Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1q3182-00EKmj-3D; Sat, 27 May 2023 23:07:11 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd,commited] mach: Fix startup with stack protector Date: Sat, 27 May 2023 23:07:10 +0200 Message-Id: <20230527210710.3416482-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: thread_set_state() is used to set up TLS, so stack protection can not be used yet. --- mach/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/mach/Makefile b/mach/Makefile index 2c09c29406..c602f546ca 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -62,6 +62,7 @@ CFLAGS-RPC_vm_protect.o = $(no-stack-protector) CFLAGS-RPC_i386_set_gdt.o = $(no-stack-protector) CFLAGS-RPC_i386_set_ldt.o = $(no-stack-protector) CFLAGS-RPC_task_get_special_port.o = $(no-stack-protector) +CFLAGS-RPC_thread_set_state.o = $(no-stack-protector) # Translate GNU names for CPUs into the names used in Mach header files. mach-machine = $(patsubst powerpc,ppc,$(base-machine)) -- 2.39.2