about summary refs log tree commit diff
path: root/inet/getaliasname.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-09-28 13:31:19 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-10-09 19:35:50 -0700
commit5a74abda201907cafbdabd1debf98890313ff71e (patch)
tree3c7fa7a010279298b966f489f2c6a0627d2028e6 /inet/getaliasname.c
parent5473739a7b44f27965b70d1acf480f5f72603e78 (diff)
downloadglibc-5a74abda201907cafbdabd1debf98890313ff71e.tar.gz
glibc-5a74abda201907cafbdabd1debf98890313ff71e.tar.xz
glibc-5a74abda201907cafbdabd1debf98890313ff71e.zip
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>

(cherry picked from commit 7b1f9406761331cf35fe521fbdb592beecf68a2c)
Diffstat (limited to 'inet/getaliasname.c')
0 files changed, 0 insertions, 0 deletions