]> 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 17:24:35 +0000 (09:24 -0800)
commit420ade1f64470df358a497f156cb316beb079831
tree7b7cd18cfc6de8044bb073f8aff98fb4bebcb77d
parent8493ba72b1a391e30b2518e82df4dc2e67e1b948
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.

(cherry picked from commit 2ef23b520597f4ea1790a669b83e608f24f4cf12)
NEWS
sysdeps/x86/Makefile
sysdeps/x86/dl-cet.c
sysdeps/x86/tst-setjmp-cet.c [new file with mode: 0644]