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-07-11 13:53:03 -0300 |
commit | dea992adae5ff1194d7e49b698424eba741df62a (patch) | |
tree | 9828c2df28965c76faf1ee17b4ecefd0166f615f /inet/getservent.c | |
parent | 1a43fd3240c587b403240cf316d241f91ce50d8f (diff) | |
download | glibc-dea992adae5ff1194d7e49b698424eba741df62a.tar.gz |
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 'inet/getservent.c')
0 files changed, 0 insertions, 0 deletions