]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Set header.feature_1 in TCB for always-on CET [BZ #27177]
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 13 Jan 2021 03:00:13 +0000 (19:00 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 13 Jan 2021 13:03:34 +0000 (05:03 -0800)
commit2ef23b520597f4ea1790a669b83e608f24f4cf12
treeb9b38477b14203a05128302e42db909025011180
parentf430293d842031f2afc3013f156e1018065e480e
x86: Set header.feature_1 in TCB for always-on CET [BZ #27177]

Update dl_cet_check() to set header.feature_1 in TCB when both IBT and
SHSTK are always on.
sysdeps/x86/Makefile
sysdeps/x86/dl-cet.c
sysdeps/x86/tst-setjmp-cet.c [new file with mode: 0644]