diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-10-15 09:23:07 +0200 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-02-25 16:00:20 -0300 |
commit | 9f108bbbeb8064a746cd2e1e7079f58fe3508485 (patch) | |
tree | e27d04f316e1a3e68c0fb5253b913f486f8cfd51 /elf/dblload.c | |
parent | ed99e5f9cc6471745488f269d16ee5b127944a85 (diff) | |
download | glibc-9f108bbbeb8064a746cd2e1e7079f58fe3508485.zip glibc-9f108bbbeb8064a746cd2e1e7079f58fe3508485.tar.gz glibc-9f108bbbeb8064a746cd2e1e7079f58fe3508485.tar.bz2 |
Always enable pointer guard [BZ #18928]
Honoring the LD_POINTER_GUARD environment variable in AT_SECURE mode
has security implications. This commit enables pointer guard
unconditionally, and the environment variable is now ignored.
[BZ #18928]
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
_dl_pointer_guard member.
* elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
initializer.
(security_init): Always set up pointer guard.
(process_envvars): Do not process LD_POINTER_GUARD.
(cherry picked from commit a014cecd82b71b70a6a843e250e06b541ad524f7)
Conflicts:
NEWS
Diffstat (limited to 'elf/dblload.c')
0 files changed, 0 insertions, 0 deletions