glibc/nptl
Adhemerval Zanella 404656009b nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029)
Some Linux interfaces never restart after being interrupted by a signal
handler, regardless of the use of SA_RESTART [1].  It means that for
pthread cancellation, if the target thread disables cancellation with
pthread_setcancelstate and calls such interfaces (like poll or select),
it should not see spurious EINTR failures due the internal SIGCANCEL.

However recent changes made pthread_cancel to always sent the internal
signal, regardless of the target thread cancellation status or type.
To fix it, the previous semantic is restored, where the cancel signal
is only sent if the target thread has cancelation enabled in
asynchronous mode.

The cancel state and cancel type is moved back to cancelhandling
and atomic operation are used to synchronize between threads.  The
patch essentially revert the following commits:

  8c1c0aae20 nptl: Move cancel type out of cancelhandling
  2b51742531 nptl: Move cancel state out of cancelhandling
  26cfbb7162 nptl: Remove CANCELING_BITMASK

However I changed the atomic operation to follow the internal C11
semantic and removed the MACRO usage, it simplifies a bit the
resulting code (and removes another usage of the old atomic macros).

Checked on x86_64-linux-gnu, i686-linux-gnu, aarch64-linux-gnu,
and powerpc64-linux-gnu.

[1] https://man7.org/linux/man-pages/man7/signal.7.html

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
2022-04-14 12:48:31 -03:00
..
alloca_cutoff.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
allocatestack.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
cancellation.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
cleanup_compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
cleanup_defer_compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
cleanup_defer.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
cleanup_routine.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
cleanup.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
cond-perf.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
default-sched.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
descr.h nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -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 2022-01-01 11:40:24 -08:00
elision-conf.h Add the low level infrastructure for pthreads lock elision with TSX 2013-07-02 08:46:54 -07:00
elision-lock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
elision-trylock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
elision-unlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
errno-loc.c
events.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
futex-internal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
libc_multiple_threads.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
libc-cleanup.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
libpthread-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
lowlevellock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08: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 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -08:00
nptl_setxid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
nptl-printers.py Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
nptl-stack.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
nptl-stack.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
nptlfreeres.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
old_pthread_cond_broadcast.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
old_pthread_cond_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
old_pthread_cond_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
old_pthread_cond_signal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
old_pthread_cond_timedwait.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
old_pthread_cond_wait.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
perf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_copy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_extension.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getaffinity.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getdetachstate.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getguardsize.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getinheritsched.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getschedparam.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getschedpolicy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getscope.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getsigmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getstack.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getstackaddr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_getstacksize.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setaffinity.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setdetachstate.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setguardsize.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setinheritsched.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setschedparam.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setschedpolicy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setscope.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setsigmask_internal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setsigmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setstack.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setstackaddr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_attr_setstacksize.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_barrier_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_barrier_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_barrier_wait.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_barrierattr_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_barrierattr_getpshared.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_barrierattr_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_barrierattr_setpshared.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_cancel.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
pthread_cleanup_upto.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_clockjoin.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_cond_broadcast.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_cond_common.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_cond_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_cond_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_cond_signal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_cond_wait.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_condattr_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_condattr_getclock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_condattr_getpshared.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_condattr_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_condattr_setclock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_condattr_setpshared.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_create.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_detach.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_equal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_exit.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_getaffinity.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_getattr_default_np.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_getattr_np.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_getconcurrency.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_getcpuclockid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_getname.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_getschedparam.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_getspecific.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_join_common.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
pthread_join.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_key_create.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_key_delete.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_keys.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_kill_other_threads.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_kill.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08: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 2022-01-01 11:40:24 -08:00
pthread_mutex_consistent.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutex_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutex_getprioceiling.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutex_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutex_lock.c nptl: Effectively skip CAS in spinlock loop 2022-01-20 05:05:09 -08:00
pthread_mutex_setprioceiling.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutex_timedlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutex_trylock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutex_unlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_getprioceiling.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_getprotocol.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_getpshared.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_getrobust.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_gettype.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_setprioceiling.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_setprotocol.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_setpshared.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_setrobust.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_mutexattr_settype.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_once.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_clockrdlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_clockwrlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_common.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_rdlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_timedrdlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_timedwrlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_tryrdlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_trywrlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_unlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlock_wrlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlockattr_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlockattr_getkind_np.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlockattr_getpshared.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlockattr_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlockattr_setkind_np.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_rwlockattr_setpshared.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_self.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_setaffinity.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_setattr_default_np.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_setcancelstate.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
pthread_setcanceltype.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
pthread_setconcurrency.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_setname.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_setschedparam.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_setschedprio.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_setspecific.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_sigmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_sigqueue.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_spin_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_spin_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_spin_lock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_spin_trylock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_spin_unlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_testcancel.c nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-14 12:48:31 -03:00
pthread_timedjoin.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_tryjoin.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread_yield.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthread-pi-defines.sym Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
sem_clockwait.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sem_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sem_getvalue.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sem_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sem_post.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sem_timedwait.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sem_wait.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sem_waitcommon.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
semaphoreP.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
test-cond-printers.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-cond-printers.py Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-condattr-printers.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-condattr-printers.py Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-mutex-printers.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-mutex-printers.py Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-mutexattr-printers.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-mutexattr-printers.py Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-rwlock-printers.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-rwlock-printers.py Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-rwlockattr-printers.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-rwlockattr-printers.py Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
thrd_current.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
thrd_yield.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
TODO
TODO-kernel
TODO-testing
tpp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-attr2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-attr3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-audit-threads-mod1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-audit-threads-mod2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-audit-threads.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-audit-threads.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-barrier5.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-cancel4_1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -08:00
tst-cancel7.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-cancel17.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-cancel24-static.cc Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-cancel24.cc
tst-cancelx7.c
tst-cancelx17.c
tst-cleanup4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-cleanup4aux.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -08:00
tst-compat-forwarder-mod.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-compat-forwarder.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -08:00
tst-context1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-default-attr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-dlsym1.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-eintr1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-exec4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-exec5.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-execstack-mod.c
tst-execstack.c
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 2022-01-01 11:40:24 -08:00
tst-minstack-cancel.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-minstack-exit.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-minstack-throw.cc Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-mutex5a.c
tst-mutex7a.c
tst-mutex8-static.c Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-mutex8.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-mutexpi1.c Fix -Waddress warnings in nptl/tst-mutex1.c. 2014-12-02 22:33:57 +00:00
tst-mutexpi2.c
tst-mutexpi3.c
tst-mutexpi4.c
tst-mutexpi5.c
tst-mutexpi5a.c
tst-mutexpi6.c
tst-mutexpi7.c
tst-mutexpi7a.c
tst-mutexpi8-static.c Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-mutexpi8.c
tst-mutexpi9.c
tst-mutexpi10.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-mutexpp1.c Fix -Waddress warnings in nptl/tst-mutex1.c. 2014-12-02 22:33:57 +00:00
tst-mutexpp5.c nptl: Fix PTHREAD_PRIO_PROTECT timed lock 2020-11-27 09:59:13 -03:00
tst-mutexpp6.c Get rid of warning comparision will always evaluate as true 2014-12-12 11:14:00 +01:00
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 2022-01-01 11:40:24 -08:00
tst-oddstacklimit.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-once5.cc Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-pthread_exit-nothreads-static.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-pthread_exit-nothreads.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-pthread-attr-affinity-fail.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-pthread-attr-affinity.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-pthread-attr-sigmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-pthread-defaultattr-free.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -08:00
tst-pthread-getattr.c Allow for unpriviledged nested containers 2022-04-04 14:17:08 -04:00
tst-pthread-timedlock-lockloop.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-robust-fork.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -08:00
tst-rwlock2a.c
tst-rwlock2b.c New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
tst-rwlock3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock6.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock7.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock8.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock9.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock10.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock11.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock15.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock17.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock18.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock19.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock20.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-rwlock-pwn.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-sched1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-sem11-static.c Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-sem11.c Fix semaphore destruction (bug 12674). 2015-01-21 00:46:16 -05:00
tst-sem12-static.c Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-sem12.c
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 2022-01-01 11:40:24 -08:00
tst-setgetname.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-setgroups.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-setuid1-static.c
tst-setuid1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-setuid2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-signal3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-signal7.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-stack2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-stack3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-stack4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-stack4mod.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-stackguard1-static.c
tst-stackguard1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-thread_local1.cc Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-thread-affinity-pthread2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-thread-affinity-pthread.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-thread-affinity-sched.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-thread-exit-clobber.cc Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-thread-setspecific.c nptl: Use libc-diag.h with tst-thread-setspecific 2022-03-31 09:02:41 -03:00
tst-tls3-malloc.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-tls3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-tls3mod.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-tls5.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -08:00
tst-tpp.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-tsd3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-tsd4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
unwind.c nptl: Fix cleanups for stack grows up [BZ# 28899] 2022-02-28 15:47:38 +00:00
unwindbuf.sym Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
vars.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Versions nptl: Use out-of-line wake function in __libc_lock_unlock slow path 2021-07-09 10:59:22 +02:00