mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-07 13:28:05 +08:00
When CET is enabled, it is an error to dlopen a non CET enabled shared library in CET enabled application. It may be desirable to make CET permissive, that is disable CET when dlopening a non CET enabled shared library. With the new --enable-cet=permissive configure option, CET is disabled when dlopening a non CET enabled shared library. Add DEFAULT_DL_X86_CET_CONTROL to config.h.in: /* The default value of x86 CET control. */ #define DEFAULT_DL_X86_CET_CONTROL cet_elf_property which enables CET features based on ELF property note. --enable-cet=permissive it to /* The default value of x86 CET control. */ #define DEFAULT_DL_X86_CET_CONTROL cet_permissive which enables CET features permissively. Update tst-cet-legacy-5a, tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b to check --enable-cet and --enable-cet=permissive. |
||
---|---|---|
.. | ||
bits | ||
fpu | ||
nptl | ||
__longjmp_cancel.S | ||
atomic-machine.h | ||
cacheinfo.c | ||
cet-control.h | ||
check-cet.awk | ||
configure | ||
configure.ac | ||
cpu-features-offsets.sym | ||
cpu-features.c | ||
cpu-features.h | ||
cpu-tunables.c | ||
dl-cet.c | ||
dl-get-cpu-features.c | ||
dl-hwcap.h | ||
dl-lookupcfg.h | ||
dl-procinfo.c | ||
dl-procinfo.h | ||
dl-procruntime.c | ||
dl-prop.h | ||
dl-tunables.list | ||
elf-initfini.h | ||
elide.h | ||
float128-abi.h | ||
fpu_control.h | ||
hp-timing.h | ||
init-arch.h | ||
jmp_buf-ssp.sym | ||
ldsodefs.h | ||
libc-start.c | ||
libc-start.h | ||
link_map.h | ||
linkmap.h | ||
longjmp.c | ||
Makeconfig | ||
Makefile | ||
string_private.h | ||
sysdep.h | ||
tininess.h | ||
tst-cet-legacy-1.c | ||
tst-cet-legacy-1a.c | ||
tst-cet-legacy-2.c | ||
tst-cet-legacy-2a.c | ||
tst-cet-legacy-3.c | ||
tst-cet-legacy-4.c | ||
tst-cet-legacy-4a.c | ||
tst-cet-legacy-4b.c | ||
tst-cet-legacy-4c.c | ||
tst-cet-legacy-5.c | ||
tst-cet-legacy-5a.c | ||
tst-cet-legacy-5b.c | ||
tst-cet-legacy-6.c | ||
tst-cet-legacy-6a.c | ||
tst-cet-legacy-6b.c | ||
tst-cet-legacy-7.c | ||
tst-cet-legacy-8.c | ||
tst-cet-legacy-mod-1.c | ||
tst-cet-legacy-mod-2.c | ||
tst-cet-legacy-mod-4.c | ||
tst-cet-legacy-mod-5.c | ||
tst-cet-legacy-mod-5a.c | ||
tst-cet-legacy-mod-5b.c | ||
tst-cet-legacy-mod-5c.c | ||
tst-cet-legacy-mod-6.c | ||
tst-cet-legacy-mod-6a.c | ||
tst-cet-legacy-mod-6b.c | ||
tst-cet-legacy-mod-6c.c | ||
tst-cet-legacy-mod-6d.c | ||
tst-get-cpu-features-static.c | ||
tst-get-cpu-features.c | ||
Versions |