glibc/sysdeps/unix/sysv/linux/x86
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
..
bits Linux: Perform rseq registration at C startup and thread creation 2020-07-06 10:21:16 +02:00
include/asm x86: Remove ARCH_CET_LEGACY_BITMAP [BZ #25397] 2020-03-18 04:35:54 -07:00
sys Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
arch-pkey.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
cpu-features.c x86: Move CET control to _dl_x86_feature_control [BZ #25887] 2020-05-18 06:15:02 -07:00
dl-cet.h x86: Remove ARCH_CET_LEGACY_BITMAP [BZ #25397] 2020-03-18 04:35:54 -07:00
dl-sysdep.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-conf.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-conf.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-lock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-timed.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-trylock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elision-unlock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
force-elision.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gettimeofday.c y2038: linux: Provide __gettimeofday64 implementation 2020-02-18 23:55:47 +01:00
hle.h x86: Use RTM intrinsics in pthread mutex lock elision 2018-10-02 07:51:57 -07:00
Implies Consolidate pthreadtype.h placementConsolidate pthreadtype.h placement 2017-04-10 17:33:10 -03:00
jmp_buf-ssp.sym x86: Make a space in jmpbuf for shadow stack pointer 2017-11-30 04:58:01 -08:00
lowlevellock.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile x86: Add --enable-cet=permissive 2020-05-18 08:38:53 -07:00
pkey_get.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pkey_set.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pthread_mutex_cond_lock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pthread_mutex_lock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pthread_mutex_timedlock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pthread_mutex_trylock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setjmpP.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
time.c linux: Consolidate time implementation 2020-01-03 11:22:04 -03:00
tst-cet-property-1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-cet-property-2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-cet-property-dep-2.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-cet-setcontext-1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-saved_mask-1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00