]> sourceware.org Git - glibc.git/commit
i386: Use _dl_runtime_[resolve|profile]_shstk for SHSTK [BZ #23716]
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 28 Sep 2018 20:31:19 +0000 (13:31 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 28 Sep 2018 20:31:30 +0000 (13:31 -0700)
commit7b1f9406761331cf35fe521fbdb592beecf68a2c
tree33dd97f1e788774cc9ec32fe443b5046d80e8349
parent7a16bdbb9ff4122af0a28dc20996c95352011fdd
i386: Use _dl_runtime_[resolve|profile]_shstk for SHSTK [BZ #23716]

When elf_machine_runtime_setup is called to set up resolver, it should
use _dl_runtime_resolve_shstk or _dl_runtime_profile_shstk if SHSTK is
enabled by kernel.

Tested on i686 with and without --enable-cet as well as on CET emulator
with --enable-cet.

[BZ #23716]
* sysdeps/i386/dl-cet.c: Removed.
* sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
prototype.
(_dl_runtime_profile_shstk): Likewise.
(elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
_dl_runtime_resolve_shstk if SHSTK is enabled by kernel.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
ChangeLog
sysdeps/i386/dl-cet.c [deleted file]
sysdeps/i386/dl-machine.h
This page took 0.039889 seconds and 5 git commands to generate.