From: Samuel Thibault Date: Sun, 15 Nov 2020 13:47:13 +0000 (+0000) Subject: hurd: let _dl_argv and __libc_stack_end be relro X-Git-Tag: glibc-2.33~288 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aac0f62c47beee5b546bacc330acc2dd21cda0dc;p=thirdparty%2Fglibc.git hurd: let _dl_argv and __libc_stack_end be relro libpthread does not switch stacks. --- diff --git a/sysdeps/mach/hurd/dl-sysdep.h b/sysdeps/mach/hurd/dl-sysdep.h index 1fe3964103a..ae555de3b7a 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