glibc/sysdeps/x86
Adhemerval Zanella 088a2055da aarch64: Fix LD_AUDIT with GCS in permissive mode
In permissive mode, during audit module handling, check_gcs is unaware
that it is handling audit modules rather than the binary itself.  It
causes the loader to fail to load the audit module, rather than
loading it and disabling GCS.

Also extends GCS tests with 4 LD_AUDIT tests:

1. tst-gcs-audit-disabled: checks if the audit module without GCS
   marking is loaded with default gcs support.

2. tst-gcs-audit-enforced: checks if the audit module without GCS
   marking is not loaded when GCS is enforced.

3. tst-gcs-audit-optional: checks if the audit module without GCS
   marking is loaded when GCS is optional.

4. tst-gcs-audit-override: check if the audit modules without GCS
   marking is loaded when GCS is overrided.

Checked on aarch64-linux-gnu with Linux 6.18 on Apple M4 emulated (for
BTI support) and on qemu 10.1.50 simulated (for GCS).

Reviewed-by: Yury Khrustalev <yury.khrustalev@arm.com>
Tested-by: Yury Khrustalev <yury.khrustalev@arm.com>
2026-01-14 15:00:24 -03:00
..
bits Revert "x86: Do not use __builtin_fpclassify for _Float64x/long double" 2026-01-14 14:33:20 -03:00
fpu Revert "x86: Do not use __builtin_fpclassify for _Float64x/long double" 2026-01-14 14:33:20 -03:00
htl Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
include Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
nptl Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
sys/platform Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
Makeconfig
Makefile x86: Set have-protected-data to no if unsupported 2025-08-22 17:55:32 -07:00
Versions i386: Also add GLIBC_ABI_GNU2_TLS version [BZ #33129] 2025-08-18 11:58:01 -07:00
__longjmp_cancel.S Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
abi-note.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
atomic-machine.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
cacheinfo.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
cacheinfo.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
configure i386: Fix fmod/fmodf/remainder/remainderf for gcc-12 2025-12-04 13:12:50 -03:00
configure.ac i386: Fix fmod/fmodf/remainder/remainderf for gcc-12 2025-12-04 13:12:50 -03:00
cpu-features-offsets.sym
cpu-features.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
cpu-tunables.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-cacheinfo.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-diagnostics-cpu.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-get-cpu-features.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-hwcap.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-hwcap2.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-isa-level.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-lookupcfg.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-minsigstacksize.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-new-hash.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-procinfo.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
dl-prop.h aarch64: Fix LD_AUDIT with GCS in permissive mode 2026-01-14 15:00:24 -03:00
dl-tunables.list Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
elf-initfini.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
features-offsets.sym
float128-abi.h
fpu_control.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
get-cpuid-feature-leaf.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
get-isa-level.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
gmp-arch.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
hp-timing.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
init-arch.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
isa-ifunc-macros.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
isa-level.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
isa-level.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
jmp_buf-ssp.sym
ldbl2mpn.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
ldsodefs.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
libc-start.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
link_map.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
linkmap.h
longjmp.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
readelflib.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
sysdep.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tininess.h
tst-cpu-features-cpuinfo-static.c
tst-cpu-features-cpuinfo.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-cpu-features-supports-static.c
tst-cpu-features-supports.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-get-cpu-features-static.c
tst-get-cpu-features.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-gnu2-tls2-x86-noxsave.c x86: Update tst-gnu2-tls2 tests 2025-06-19 05:46:31 +08:00
tst-gnu2-tls2-x86-noxsavec.c x86: Update tst-gnu2-tls2 tests 2025-06-19 05:46:31 +08:00
tst-gnu2-tls2-x86-noxsavexsavec.c x86: Update tst-gnu2-tls2 tests 2025-06-19 05:46:31 +08:00
tst-gnu2-tls2.c x86: Update tst-gnu2-tls2 tests 2025-06-19 05:46:31 +08:00
tst-gnu2-tls2.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-hwcap-tunables.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-ifunc-isa-1-static.c
tst-ifunc-isa-1.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-ifunc-isa-2-static.c
tst-ifunc-isa-2.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-ifunc-isa.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-isa-level-1.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-isa-level-mod-1-baseline.c
tst-isa-level-mod-1-v2.c
tst-isa-level-mod-1-v3.c
tst-isa-level-mod-1-v4.c
tst-isa-level-mod-1.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-ldbl-nonnormal-printf.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-memchr-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-memcmp-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-memmove-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-memrchr-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-memset-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-setjmp-cet.c
tst-stack-align.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-strcasecmp-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-strchr-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-strcmp-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-strcpy-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-string-rtm.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-strlen-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-strncasecmp-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-strncmp-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-strrchr-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-sysconf-cache-linesize-static.c
tst-sysconf-cache-linesize.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-tls23.c i386: Update ___tls_get_addr to preserve vector registers 2025-06-19 04:30:31 +08:00
tst-tls23.h Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-wcscmp-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
tst-wcsncmp-rtm.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
utmp-size.h