diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-12-16 08:53:10 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-12-17 10:42:06 -0800 |
commit | 0b850186fd3177311f10dcb938b668cc750fa3be (patch) | |
tree | 58d33b29e48d6920b5dcd6c716cb4e1e7df728c0 /sysdeps | |
parent | 49b4de21dcdf364e0dcc57382a8dfa339b59accc (diff) | |
download | glibc-0b850186fd3177311f10dcb938b668cc750fa3be.tar.gz glibc-0b850186fd3177311f10dcb938b668cc750fa3be.tar.xz glibc-0b850186fd3177311f10dcb938b668cc750fa3be.zip |
x86/cet: Check user_shstk in /proc/cpuinfo
Linux kernel reports CPU shadow stack feature in /proc/cpuinfo as user_shstk, instead of shstk.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86/tst-cpu-features-cpuinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86/tst-cpu-features-cpuinfo.c b/sysdeps/x86/tst-cpu-features-cpuinfo.c index 18d64375ca..1d6c647b70 100644 --- a/sysdeps/x86/tst-cpu-features-cpuinfo.c +++ b/sysdeps/x86/tst-cpu-features-cpuinfo.c @@ -246,7 +246,7 @@ do_test (int argc, char **argv) fails += CHECK_PROC (sgx, SGX); fails += CHECK_PROC (sgx_lc, SGX_LC); fails += CHECK_PROC (sha_ni, SHA); - fails += CHECK_PROC (shstk, SHSTK); + fails += CHECK_PROC (user_shstk, SHSTK); fails += CHECK_PROC (smap, SMAP); fails += CHECK_PROC (smep, SMEP); fails += CHECK_PROC (smx, SMX); |