aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/cpu-features.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-05-31 12:26:43 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-05-31 22:49:18 +0200
commitc5f7f4fc8bb857cbe07972ff1e29970b101e9995 (patch)
tree3ee7b5b3127b3be0bf34b291dd0537f207b5d679 /sysdeps/x86/cpu-features.c
parent90ee0d87302810f1670a1fbcf9455b883309b1de (diff)
downloadglibc-c5f7f4fc8bb857cbe07972ff1e29970b101e9995.zip
glibc-c5f7f4fc8bb857cbe07972ff1e29970b101e9995.tar.gz
glibc-c5f7f4fc8bb857cbe07972ff1e29970b101e9995.tar.bz2
x86_64: Use shadow stack for backtrace implementationfw/x86-shstk-backtrace
Test failures: FAIL: debug/tst-backtrace4 FAIL: misc/tst-sigcontext-get_pc The return address of signal handlers is not on the shadow stack.
Diffstat (limited to 'sysdeps/x86/cpu-features.c')
-rw-r--r--sysdeps/x86/cpu-features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c
index 3d7c281..459844d 100644
--- a/sysdeps/x86/cpu-features.c
+++ b/sysdeps/x86/cpu-features.c
@@ -147,7 +147,7 @@ update_active (struct cpu_features *cpu_features)
if (!CPU_FEATURES_CPU_P (cpu_features, RTM_ALWAYS_ABORT))
CPU_FEATURE_SET_ACTIVE (cpu_features, RTM);
-#if CET_ENABLED && 0
+#if CET_ENABLED
CPU_FEATURE_SET_ACTIVE (cpu_features, IBT);
CPU_FEATURE_SET_ACTIVE (cpu_features, SHSTK);
#endif