glibc/sysdeps/unix
Mathieu Desnoyers 0c76fc3c2b Linux: Perform rseq registration at C startup and thread creation
Register rseq TLS for each thread (including main), and unregister for
each thread (excluding main).  "rseq" stands for Restartable Sequences.

See the rseq(2) man page proposed here:
  https://lkml.org/lkml/2018/9/19/647

Those are based on glibc master branch commit 3ee1e0ec5c.
The rseq system call was merged into Linux 4.18.

The TLS_STATIC_SURPLUS define is increased to leave additional room for
dlopen'd initial-exec TLS, which keeps elf/tst-auditmany working.

The increase (76 bytes) is larger than 32 bytes because it has not been
increased in quite a while.  The cost in terms of additional TLS storage
is quite significant, but it will also obscure some initial-exec-related
dlopen failures.
2020-07-06 10:21:16 +02:00
..
alpha
arm
bsd
i386 i386: Remove unused file sysdeps/unix/i386/sysdep.S 2020-05-28 13:44:29 +02:00
inet
mips
powerpc
sh
sysv/linux Linux: Perform rseq registration at C startup and thread creation 2020-07-06 10:21:16 +02:00
x86_64
Implies
Makefile Add arch-syscall.h dependency for generating sysd-syscalls file 2020-05-14 18:40:58 +02:00
confstr.h
get_child_max.c
getlogin.c
getlogin_r.c
getpagesize.c
grantpt.c
ifreq.c
make-syscalls.sh
pt-fcntl.c
s-proto-cancel.S
s-proto.S
setxid.h
sockatmark.c
syscall-template.S
syscall.S
syscalls.list
sysdep.h