public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] mach: Fix startup with stack protector
@ 2023-05-27 21:07 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2023-05-27 21:07 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0660ab264fdfd49555430790267b539d1177192f

commit 0660ab264fdfd49555430790267b539d1177192f
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat May 27 23:06:00 2023 +0200

    mach: Fix startup with stack protector
    
    thread_set_state() is used to set up TLS, so stack protection can not be
    used yet.

Diff:
---
 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)
 \f
 # Translate GNU names for CPUs into the names used in Mach header files.
 mach-machine = $(patsubst powerpc,ppc,$(base-machine))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-27 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-27 21:07 [glibc] mach: Fix startup with stack protector Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).