diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-05-03 17:01:44 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-05-17 10:14:03 +0100 |
commit | 86147bbeec25624cb26bb7646cdbc3a49bc56bf5 (patch) | |
tree | 5d8052a0813836943eafd49956304bf98288e1d2 /sysdeps/aarch64/dl-sysdep.h | |
parent | ad43cac44a6860eaefcadadfb2acb349921e96bf (diff) | |
download | glibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.tar.gz glibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.tar.xz glibc-86147bbeec25624cb26bb7646cdbc3a49bc56bf5.zip |
rtld: Remove DL_ARGV_NOT_RELRO and make _dl_skip_args const
_dl_skip_args is always 0, so the target specific code that modifies argv after relro protection is applied is no longer used. After the patch relro protection is applied to _dl_argv consistently on all targets. Reviewed-by: Florian Weimer <fweimer@redhat.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/aarch64/dl-sysdep.h')
-rw-r--r-- | sysdeps/aarch64/dl-sysdep.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/aarch64/dl-sysdep.h b/sysdeps/aarch64/dl-sysdep.h index 667786671c..1516dd7d3f 100644 --- a/sysdeps/aarch64/dl-sysdep.h +++ b/sysdeps/aarch64/dl-sysdep.h @@ -18,8 +18,4 @@ #include_next <dl-sysdep.h> -/* _dl_argv cannot be attribute_relro, because _dl_start_user - might write into it after _dl_start returns. */ -#define DL_ARGV_NOT_RELRO 1 - #define DL_EXTERN_PROTECTED_DATA |