glibc/nptl
Adhemerval Zanella 461cab1de7 linux: Add support for getrandom vDSO
Linux 6.11 has getrandom() in vDSO. It operates on a thread-local opaque
state allocated with mmap using flags specified by the vDSO.

Multiple states are allocated at once, as many as fit into a page, and
these are held in an array of available states to be doled out to each
thread upon first use, and recycled when a thread terminates. As these
states run low, more are allocated.

To make this procedure async-signal-safe, a simple guard is used in the
LSB of the opaque state address, falling back to the syscall if there's
reentrancy contention.

Also, _Fork() is handled by blocking signals on opaque state allocation
(so _Fork() always sees a consistent state even if it interrupts a
getrandom() call) and by iterating over the thread stack cache on
reclaim_stack. Each opaque state will be in the free states list
(grnd_alloc.states) or allocated to a running thread.

The cancellation is handled by always using GRND_NONBLOCK flags while
calling the vDSO, and falling back to the cancellable syscall if the
kernel returns EAGAIN (would block). Since getrandom is not defined by
POSIX and cancellation is supported as an extension, the cancellation is
handled as 'may occur' instead of 'shall occur' [1], meaning that if
vDSO does not block (the expected behavior) getrandom will not act as a
cancellation entrypoint. It avoids a pthread_testcancel call on the fast
path (different than 'shall occur' functions, like sem_wait()).

It is currently enabled for x86_64, which is available in Linux 6.11,
and aarch64, powerpc32, powerpc64, loongarch64, and s390x, which are
available in Linux 6.12.

Link: https://pubs.opengroup.org/onlinepubs/9799919799/nframe.html [1]
Co-developed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Tested-by: Jason A. Donenfeld <Jason@zx2c4.com> # x86_64
Tested-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> # x86_64, aarch64
Tested-by: Xi Ruoyao <xry111@xry111.site> # x86_64, aarch64, loongarch64
Tested-by: Stefan Liebler <stli@linux.ibm.com> # s390x
2024-11-12 14:42:12 -03:00
..
alloca_cutoff.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
allocatestack.c linux: Add support for getrandom vDSO 2024-11-12 14:42:12 -03:00
cancellation.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
cleanup_compat.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cleanup_defer_compat.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cleanup_defer.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
cleanup_routine.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cleanup.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
default-sched.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
descr-const.sym nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
descr.h linux: Add support for getrandom vDSO 2024-11-12 14:42:12 -03:00
DESIGN-systemtap-probes.txt nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
elision-conf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
elision-conf.h
elision-lock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
elision-trylock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
elision-unlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
errno-loc.c
events.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
futex-internal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
libc-cleanup.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
libpthread-compat.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
lowlevellock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile Add more tests of pthread attributes initial values 2024-10-29 17:35:21 +00:00
nptl_deallocate_tsd.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
nptl_free_tcb.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
nptl_lock_constants.pysym New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
nptl_nthreads.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
nptl_setxid.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
nptl-printers.py treewide: python-scripts: use is None for none-equality 2024-02-23 08:50:00 -03:00
nptl-stack.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
nptl-stack.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
nptlfreeres.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
old_pthread_cond_broadcast.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
old_pthread_cond_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
old_pthread_cond_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
old_pthread_cond_signal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
old_pthread_cond_timedwait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
old_pthread_cond_wait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
perf.c Remove ia64-linux-gnu 2024-01-08 17:09:36 -03:00
pthread_attr_copy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_extension.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getaffinity.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getdetachstate.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getguardsize.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getinheritsched.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getschedparam.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getschedpolicy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getscope.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getsigmask.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getstack.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getstackaddr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_getstacksize.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setaffinity.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setdetachstate.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setguardsize.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setinheritsched.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setschedparam.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setschedpolicy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setscope.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setsigmask_internal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setsigmask.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setstack.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setstackaddr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_attr_setstacksize.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_barrier_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_barrier_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_barrier_wait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_barrierattr_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_barrierattr_getpshared.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_barrierattr_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_barrierattr_setpshared.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_cancel.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
pthread_cleanup_upto.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_clockjoin.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_cond_broadcast.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_cond_common.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_cond_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_cond_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_cond_signal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_cond_wait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_condattr_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_condattr_getclock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_condattr_getpshared.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_condattr_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_condattr_setclock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_condattr_setpshared.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_create.c linux: Add support for getrandom vDSO 2024-11-12 14:42:12 -03:00
pthread_detach.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_equal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_exit.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
pthread_getaffinity.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_getattr_default_np.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_getattr_np.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_getconcurrency.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_getcpuclockid.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_getname.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_getschedparam.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_getspecific.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_join_common.c Check time arguments to pthread_timedjoin_np and pthread_clockjoin_np 2024-10-21 20:56:48 +00:00
pthread_join.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_key_create.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_key_delete.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_keys.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_kill_other_threads.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_kill.c stdlib: Make abort/_Exit AS-safe (BZ 26275) 2024-10-08 14:40:12 -03:00
pthread_mutex_cond_lock.c nptl: Move core mutex functions into libc 2021-04-21 19:49:51 +02:00
pthread_mutex_conf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_consistent.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_getprioceiling.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_lock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_setprioceiling.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_timedlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_trylock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_unlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_getprioceiling.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_getprotocol.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_getpshared.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_getrobust.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_gettype.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_setprioceiling.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_setprotocol.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_setpshared.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_setrobust.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutexattr_settype.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_once.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_clockrdlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_clockwrlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_common.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_rdlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_timedrdlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_timedwrlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_tryrdlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_trywrlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_unlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlock_wrlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlockattr_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlockattr_getkind_np.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlockattr_getpshared.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlockattr_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlockattr_setkind_np.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_rwlockattr_setpshared.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_self.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_setaffinity.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_setattr_default_np.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_setcancelstate.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
pthread_setcanceltype.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
pthread_setconcurrency.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_setname.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_setschedparam.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_setschedprio.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_setspecific.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_sigmask.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_sigqueue.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_spin_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_spin_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_spin_lock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_spin_trylock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_spin_unlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_testcancel.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
pthread_timedjoin.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_tryjoin.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_yield.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_clockwait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_getvalue.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_post.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_timedwait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_wait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_waitcommon.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
semaphoreP.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
shlib-versions
test-cond-printers.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-cond-printers.py Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-condattr-printers.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-condattr-printers.py Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-mutex-printers.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-mutex-printers.py Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-mutexattr-printers.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-mutexattr-printers.py Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-rwlock-printers.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-rwlock-printers.py Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-rwlockattr-printers.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-rwlockattr-printers.py Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thrd_current.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thrd_yield.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
TODO Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
TODO-kernel
TODO-testing
tpp.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-attr2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-attr3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-attr4.c Add more tests of pthread attributes initial values 2024-10-29 17:35:21 +00:00
tst-audit-threads-mod1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-audit-threads-mod2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-audit-threads.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-audit-threads.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-barrier5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel4_1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel4_2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cancel4_2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel7.c nptl: Fix stray process left by tst-cancel7 blocking testing 2024-08-07 19:46:21 +01:00
tst-cancel17.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel24-static.cc
tst-cancel24.cc
tst-cancel31.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
tst-cancelx7.c
tst-cancelx17.c
tst-cleanup4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cleanup4aux.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cleanupx4.c
tst-cleanupx4aux.c Compile tst-cleanupx4 test with -fexceptions 2016-06-29 20:24:44 -07:00
tst-clock2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-compat-forwarder-mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-compat-forwarder.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond22.c nptl: Extract <bits/atomic_wide_counter.h> from pthread_cond_common.c 2021-11-17 12:20:13 +01:00
tst-cond26.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-context1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-default-attr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-dlsym1.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-eintr1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-exec4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-exec5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-execstack-threads-mod.c nptl: Rename tst-execstack to tst-execstack-threads 2023-11-20 09:22:21 +01:00
tst-execstack-threads.c nptl: Rename tst-execstack to tst-execstack-threads 2023-11-20 09:22:21 +01:00
tst-initializers1-c11.c Add -std=gnu11 and -std=c11 NPTL initializers tests. 2015-10-27 21:48:34 +00:00
tst-initializers1-c89.c
tst-initializers1-c99.c
tst-initializers1-gnu11.c Add -std=gnu11 and -std=c11 NPTL initializers tests. 2015-10-27 21:48:34 +00:00
tst-initializers1-gnu89.c
tst-initializers1-gnu99.c
tst-initializers1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-minstack-cancel.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-minstack-exit.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-minstack-throw.cc Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex5a.c
tst-mutex7a.c
tst-mutex8-static.c
tst-mutex8.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutexpi1.c
tst-mutexpi2.c
tst-mutexpi3.c
tst-mutexpi4.c
tst-mutexpi5.c
tst-mutexpi6.c
tst-mutexpi7.c
tst-mutexpi8-static.c
tst-mutexpi8.c
tst-mutexpi9.c
tst-mutexpi10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutexpi11.c nptl: Reformat Makefile. 2023-05-18 12:39:47 -04:00
tst-mutexpi12.c nptl: Reformat Makefile. 2023-05-18 12:39:47 -04:00
tst-mutexpp1.c
tst-mutexpp5.c nptl: Fix PTHREAD_PRIO_PROTECT timed lock 2020-11-27 09:59:13 -03:00
tst-mutexpp6.c
tst-mutexpp9.c nptl: Fix PTHREAD_PRIO_PROTECT timed lock 2020-11-27 09:59:13 -03:00
tst-mutexpp10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-oddstacklimit.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-once5.cc Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread_exit-nothreads-static.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread_exit-nothreads.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-attr-affinity-fail.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-attr-affinity.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-attr-sigmask.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-defaultattr-free.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-gdb-attach-static.c nptl_db: Support different libpthread/ld.so load orders (bug 27744) 2021-04-21 11:50:43 +02:00
tst-pthread-gdb-attach.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-getattr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-key1-static.c nptl: Add tst-pthread-key1-static for BZ #21777 2024-04-09 05:27:03 -07:00
tst-pthread-timedlock-lockloop.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-robust-fork.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-robustpi1.c
tst-robustpi2.c
tst-robustpi3.c
tst-robustpi4.c
tst-robustpi5.c
tst-robustpi6.c
tst-robustpi7.c
tst-robustpi8.c
tst-robustpi9.c
tst-rwlock2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock6.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock7.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock8.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock9.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock11.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock15.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock17.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock18.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock19.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock20.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock21.c nptl: Reformat Makefile. 2023-05-18 12:39:47 -04:00
tst-rwlock22.c nptl: Reformat Makefile. 2023-05-18 12:39:47 -04:00
tst-rwlock-pwn.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sched1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem11-static.c
tst-sem11.c nptl: Convert tst-sem11 and tst-sem12 tests to use the test driver 2024-07-12 20:41:08 +02:00
tst-sem12-static.c
tst-sem12.c nptl: Convert tst-sem11 and tst-sem12 tests to use the test driver 2024-07-12 20:41:08 +02:00
tst-sem13.c nptl: Add POSIX-proposed sem_clockwait 2019-07-12 13:36:23 +00:00
tst-sem17.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-setgetname.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-setgroups.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-setuid1-static.c
tst-setuid1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-setuid2.c nptl: Prefer setresuid32 in tst-setuid2 2024-09-24 13:48:11 +02:00
tst-signal3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-signal7.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-stack2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-stack3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-stack4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-stack4mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-stackguard1-static.c
tst-stackguard1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-thread_local1.cc Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-thread-affinity-pthread2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-thread-affinity-pthread.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-thread-affinity-sched.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-thread-exit-clobber.cc Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-thread-setspecific.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tls3-malloc.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tls3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tls3mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tls5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tls5.h Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-tls5mod.c
tst-tls5moda.c
tst-tls5modb.c
tst-tls5modc.c
tst-tls5modd.c
tst-tls5mode.c
tst-tls5modf.c
tst-tls6.sh Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tpp.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tsd3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tsd4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
unwind.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
unwindbuf.sym
vars.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Versions nptl: Use out-of-line wake function in __libc_lock_unlock slow path 2021-07-09 10:59:22 +02:00