public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] hurd: let _dl_argv and __libc_stack_end be relro
@ 2020-11-15 13:48 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2020-11-15 13:48 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault, commit-hurd

libpthread does not switch stacks.
---
 sysdeps/mach/hurd/dl-sysdep.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sysdeps/mach/hurd/dl-sysdep.h b/sysdeps/mach/hurd/dl-sysdep.h
index 1fe3964103..ae555de3b7 100644
--- a/sysdeps/mach/hurd/dl-sysdep.h
+++ b/sysdeps/mach/hurd/dl-sysdep.h
@@ -22,10 +22,3 @@
    (open, mmap, etc).  */
 
 #define RTLD_PRIVATE_ERRNO 0
-
-#ifdef SHARED
-/* _dl_argv and __libc_stack_end cannot be attribute_relro, because the stack-switching
-   libc initializer for using cthreads might write into it.  */
-# define DL_ARGV_NOT_RELRO 1
-# define LIBC_STACK_END_NOT_RELRO 1
-#endif
-- 
2.29.2


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

only message in thread, other threads:[~2020-11-15 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-15 13:48 [hurd,commited] hurd: let _dl_argv and __libc_stack_end be relro 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).