diff options
author | Florian Weimer <fweimer@redhat.com> | 2025-01-16 20:02:42 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-01-16 20:02:42 +0100 |
commit | 37b9a5aacc3156aef81a461deaf703f49531deac (patch) | |
tree | f4e8b87e5a19a31900f743013a16e13a5bad0e52 /sysdeps/unix/sysv/linux/tst-rseq-tls-range-4096.c | |
parent | cbd9fd236981717d3d4ee942986ea912e9707c32 (diff) | |
download | glibc-37b9a5aacc3156aef81a461deaf703f49531deac.zip glibc-37b9a5aacc3156aef81a461deaf703f49531deac.tar.gz glibc-37b9a5aacc3156aef81a461deaf703f49531deac.tar.bz2 |
Linux: Add tests that check that TLS and rseq area are separate
The new test elf/tst-rseq-tls-range-4096-static reliably detected
the extra TLS allocation problem (tcb_offset was dropped from
the allocation size) on aarch64. It also failed with a crash
in dlopen *before* the extra TLS changes, so TLS alignment with
static dlopen was already broken.
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-rseq-tls-range-4096.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-rseq-tls-range-4096.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-rseq-tls-range-4096.c b/sysdeps/unix/sysv/linux/tst-rseq-tls-range-4096.c new file mode 100644 index 0000000..5ad2853 --- /dev/null +++ b/sysdeps/unix/sysv/linux/tst-rseq-tls-range-4096.c @@ -0,0 +1 @@ +#include "tst-rseq-tls-range.c" |