diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-12-29 08:43:53 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-01-01 05:22:48 -0800 |
commit | 55d63e731253de82e96ed4ddca2e294076cd0bc5 (patch) | |
tree | 7bf46a0d70507206c236f946b45d15159687676c /bits/sigstack.h | |
parent | d360dcc001cb12504cd3e8dbddee20df6bebb0f8 (diff) | |
download | glibc-55d63e731253de82e96ed4ddca2e294076cd0bc5.zip glibc-55d63e731253de82e96ed4ddca2e294076cd0bc5.tar.gz glibc-55d63e731253de82e96ed4ddca2e294076cd0bc5.tar.bz2 |
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 'bits/sigstack.h')
0 files changed, 0 insertions, 0 deletions