glibc/sysdeps/unix/sysv/linux/x86/bits
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
..
types semctl: Remove the sem-pad.h file 2020-04-29 08:29:30 -07:00
a.out.h
environments.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
epoll.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fcntl.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ipctypes.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mman.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
procfs-id.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
procfs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rseq.h Linux: Perform rseq registration at C startup and thread creation 2020-07-06 10:21:16 +02:00
sigcontext.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
siginfo-arch.h Fix a bug in 'Remove __need macros from signal.h' (a992f506) 2017-05-22 22:32:09 -04:00
stat.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timesize.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
typesizes.h sysv: Define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 2020-04-02 09:21:05 -07:00