diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-15 13:47:13 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-15 14:48:15 +0100 |
commit | aac0f62c47beee5b546bacc330acc2dd21cda0dc (patch) | |
tree | eb0bfd18deee401f7c14a11226f4b88e09059086 /sysdeps | |
parent | 9446e02b0d2e94da4ebe9df6e2c5d23adc0f1d7d (diff) | |
download | glibc-aac0f62c47beee5b546bacc330acc2dd21cda0dc.tar.gz glibc-aac0f62c47beee5b546bacc330acc2dd21cda0dc.tar.xz glibc-aac0f62c47beee5b546bacc330acc2dd21cda0dc.zip |
hurd: let _dl_argv and __libc_stack_end be relro
libpthread does not switch stacks.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.h | 7 |
1 files changed, 0 insertions, 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 |