]> git.ipfire.org Git - thirdparty/glibc.git/commit
Always enable pointer guard [BZ #18928]
authorFlorian Weimer <fweimer@redhat.com>
Thu, 15 Oct 2015 07:23:07 +0000 (09:23 +0200)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Thu, 25 Feb 2016 19:00:20 +0000 (16:00 -0300)
commit9f108bbbeb8064a746cd2e1e7079f58fe3508485
treee27d04f316e1a3e68c0fb5253b913f486f8cfd51
parented99e5f9cc6471745488f269d16ee5b127944a85
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
ChangeLog
NEWS
elf/rtld.c
sysdeps/generic/ldsodefs.h