aboutsummaryrefslogtreecommitdiff
path: root/math/test-float32.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-12-29 08:43:52 -0800
committerH.J. Lu <hjl.tools@gmail.com>2024-01-01 05:22:48 -0800
commitd360dcc001cb12504cd3e8dbddee20df6bebb0f8 (patch)
tree85424ab05ed848c3e004bb938e4e7820f9c77e1c /math/test-float32.h
parent541641a3de8d89464151bd879552755e882c832e (diff)
downloadglibc-d360dcc001cb12504cd3e8dbddee20df6bebb0f8.tar
glibc-d360dcc001cb12504cd3e8dbddee20df6bebb0f8.tar.gz
glibc-d360dcc001cb12504cd3e8dbddee20df6bebb0f8.tar.bz2
glibc-d360dcc001cb12504cd3e8dbddee20df6bebb0f8.zip
x86/cet: Check feature_1 in TCB for active IBT and SHSTK
Initially, IBT and SHSTK are marked as active when CPU supports them and CET are enabled in glibc. They can be disabled early by tunables before relocation. Since after relocation, GLRO(dl_x86_cpu_features) becomes read-only, we can't update GLRO(dl_x86_cpu_features) to mark IBT and SHSTK as inactive. Instead, check the feature_1 field in TCB to decide if IBT and SHST are active.
Diffstat (limited to 'math/test-float32.h')
0 files changed, 0 insertions, 0 deletions