about summary refs log tree commit diff
path: root/nptl/tst-thread-affinity-sched.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-12-29 08:43:53 -0800
committerH.J. Lu <hjl.tools@gmail.com>2024-01-01 05:22:48 -0800
commit55d63e731253de82e96ed4ddca2e294076cd0bc5 (patch)
tree7bf46a0d70507206c236f946b45d15159687676c /nptl/tst-thread-affinity-sched.c
parentd360dcc001cb12504cd3e8dbddee20df6bebb0f8 (diff)
downloadglibc-55d63e731253de82e96ed4ddca2e294076cd0bc5.tar.gz
glibc-55d63e731253de82e96ed4ddca2e294076cd0bc5.tar.xz
glibc-55d63e731253de82e96ed4ddca2e294076cd0bc5.zip
x86/cet: Don't set CET active by default
Not all CET enabled applications and libraries have been properly tested
in CET enabled environments.  Some CET enabled applications or libraries
will crash or misbehave when CET is enabled.  Don't set CET active by
default so that all applications and libraries will run normally regardless
of whether CET is active or not.  Shadow stack can be enabled by

$ export GLIBC_TUNABLES=glibc.cpu.hwcaps=SHSTK

at run-time if shadow stack can be enabled by kernel.

NB: This commit can be reverted if it is OK to enable CET by default for
all applications and libraries.
Diffstat (limited to 'nptl/tst-thread-affinity-sched.c')
0 files changed, 0 insertions, 0 deletions