mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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>
This commit is contained in:
@ -48,8 +48,4 @@ extern int _dl_sysinfo_break attribute_hidden;
|
||||
".previous");
|
||||
#endif
|
||||
|
||||
/* _dl_argv cannot be attribute_relro, because _dl_start_user
|
||||
might write into it after _dl_start returns. */
|
||||
#define DL_ARGV_NOT_RELRO 1
|
||||
|
||||
#endif /* dl-sysdep.h */
|
||||
|
Reference in New Issue
Block a user