]> 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:27:48 +0000 (09:27 -0800)
commit4a68828e3781cd6f61f792daa1dd5904a8f45288
treee91fa37ffd7b1deedaf2de5a14d82653ce343d32
parent56fbd0ba218c59a1cc8c29464f153d45a4c887c0
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]