glibc/sysdeps/pthread
Adhemerval Zanella 89b53077d2 nptl: Fix Race conditions in pthread cancellation [BZ#12683]
The current racy approach is to enable asynchronous cancellation
before making the syscall and restore the previous cancellation
type once the syscall returns, and check if cancellation has happen
during the cancellation entrypoint.

As described in BZ#12683, this approach shows 2 problems:

  1. Cancellation can act after the syscall has returned from the
     kernel, but before userspace saves the return value.  It might
     result in a resource leak if the syscall allocated a resource or a
     side effect (partial read/write), and there is no way to program
     handle it with cancellation handlers.

  2. If a signal is handled while the thread is blocked at a cancellable
     syscall, the entire signal handler runs with asynchronous
     cancellation enabled.  This can lead to issues if the signal
     handler call functions which are async-signal-safe but not
     async-cancel-safe.

For the cancellation to work correctly, there are 5 points at which the
cancellation signal could arrive:

	[ ... )[ ... )[ syscall ]( ...
	   1      2        3    4   5

  1. Before initial testcancel, e.g. [*... testcancel)
  2. Between testcancel and syscall start, e.g. [testcancel...syscall start)
  3. While syscall is blocked and no side effects have yet taken
     place, e.g. [ syscall ]
  4. Same as 3 but with side-effects having occurred (e.g. a partial
     read or write).
  5. After syscall end e.g. (syscall end...*]

And libc wants to act on cancellation in cases 1, 2, and 3 but not
in cases 4 or 5.  For the 4 and 5 cases, the cancellation will eventually
happen in the next cancellable entrypoint without any further external
event.

The proposed solution for each case is:

  1. Do a conditional branch based on whether the thread has received
     a cancellation request;

  2. It can be caught by the signal handler determining that the saved
     program counter (from the ucontext_t) is in some address range
     beginning just before the "testcancel" and ending with the
     syscall instruction.

  3. SIGCANCEL can be caught by the signal handler and determine that
     the saved program counter (from the ucontext_t) is in the address
     range beginning just before "testcancel" and ending with the first
     uninterruptable (via a signal) syscall instruction that enters the
      kernel.

  4. In this case, except for certain syscalls that ALWAYS fail with
     EINTR even for non-interrupting signals, the kernel will reset
     the program counter to point at the syscall instruction during
     signal handling, so that the syscall is restarted when the signal
     handler returns.  So, from the signal handler's standpoint, this
     looks the same as case 2, and thus it's taken care of.

  5. For syscalls with side-effects, the kernel cannot restart the
     syscall; when it's interrupted by a signal, the kernel must cause
     the syscall to return with whatever partial result is obtained
     (e.g. partial read or write).

  6. The saved program counter points just after the syscall
     instruction, so the signal handler won't act on cancellation.
     This is similar to 4. since the program counter is past the syscall
     instruction.

So The proposed fixes are:

  1. Remove the enable_asynccancel/disable_asynccancel function usage in
     cancellable syscall definition and instead make them call a common
     symbol that will check if cancellation is enabled (__syscall_cancel
     at nptl/cancellation.c), call the arch-specific cancellable
     entry-point (__syscall_cancel_arch), and cancel the thread when
     required.

  2. Provide an arch-specific generic system call wrapper function
     that contains global markers.  These markers will be used in
     SIGCANCEL signal handler to check if the interruption has been
     called in a valid syscall and if the syscalls has side-effects.

     A reference implementation sysdeps/unix/sysv/linux/syscall_cancel.c
     is provided.  However, the markers may not be set on correct
     expected places depending on how INTERNAL_SYSCALL_NCS is
     implemented by the architecture.  It is expected that all
     architectures add an arch-specific implementation.

  3. Rewrite SIGCANCEL asynchronous handler to check for both canceling
     type and if current IP from signal handler falls between the global
     markers and act accordingly.

  4. Adjust libc code to replace LIBC_CANCEL_ASYNC/LIBC_CANCEL_RESET to
     use the appropriate cancelable syscalls.

  5. Adjust 'lowlevellock-futex.h' arch-specific implementations to
     provide cancelable futex calls.

Some architectures require specific support on syscall handling:

  * On i386 the syscall cancel bridge needs to use the old int80
    instruction because the optimized vDSO symbol the resulting PC value
    for an interrupted syscall points to an address outside the expected
    markers in __syscall_cancel_arch.  It has been discussed in LKML [1]
    on how kernel could help userland to accomplish it, but afaik
    discussion has stalled.

    Also, sysenter should not be used directly by libc since its calling
    convention is set by the kernel depending of the underlying x86 chip
    (check kernel commit 30bfa7b3488bfb1bb75c9f50a5fcac1832970c60).

  * mips o32 is the only kABI that requires 7 argument syscall, and to
    avoid add a requirement on all architectures to support it, mips
    support is added with extra internal defines.

Checked on aarch64-linux-gnu, arm-linux-gnueabihf, powerpc-linux-gnu,
powerpc64-linux-gnu, powerpc64le-linux-gnu, i686-linux-gnu, and
x86_64-linux-gnu.

[1] https://lkml.org/lkml/2016/3/8/1105
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2024-08-23 14:27:43 -03:00
..
bits Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
allocalim.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
call_once.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cnd_broadcast.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cnd_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cnd_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cnd_signal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cnd_timedwait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cnd_wait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
eintr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
elision-conf.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makeconfig Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. 2012-08-17 09:35:15 -07:00
Makefile Add crt1-2.0.o for glibc 2.0 compatibility tests 2024-05-06 07:49:40 -07:00
mtx_destroy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mtx_init.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mtx_lock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mtx_timedlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mtx_trylock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mtx_unlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
posix-timer.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_atfork_compat.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_atfork.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_early_init.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pthread_mutex_conf.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_close.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_open.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_routines.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_routines.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sem_unlink.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
semaphore.h Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
thrd_create.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thrd_detach.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thrd_equal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thrd_exit.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thrd_join.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thrd_priv.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
thrd_sleep.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
threads.h Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
tss_create.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tss_delete.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tss_get.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tss_set.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-_res1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-_res1mod1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-_res1mod2.c htl: Enable more tests 2020-06-07 23:45:25 +00:00
tst-abstime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-abstime.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-atfork1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-atfork2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-atfork2mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-atfork3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-atfork3mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-atfork4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-atfork4mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-attr1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-backtrace1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-bad-schedattr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-barrier1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-barrier2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-barrier3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-barrier4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-basic1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-basic2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-basic3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-basic4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-basic5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-basic6.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-basic7.c pthread: Move basic tests from nptl to sysdeps/pthread 2020-02-09 16:12:53 +00:00
tst-call-once.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel2.c nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
tst-cancel3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel4-common.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel4-common.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel5.c htl: Enable tst-cancelx?[45] 2020-08-06 23:38:35 +00:00
tst-cancel6.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel8.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel9.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel11.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel12.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel13.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel14.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel15.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel16.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel18.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel19.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel20.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel21-static.c htl: Enable more cancel tests 2020-06-10 21:34:19 +00:00
tst-cancel21.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel22.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel23.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancel25.c htl: Enable tst-cancel25 test 2020-06-24 00:02:31 +02:00
tst-cancel26.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel27.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel28.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel29.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel30.c nptl: Fix tst-cancel30 on kernels without ppoll_time64 support 2024-04-23 21:16:32 +02:00
tst-cancel-self-cancelstate.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel-self-canceltype.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel-self-cleanup.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel-self-testcancel.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancel-self.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cancelx1.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx2.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx3.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx4.c htl: Enable tst-cancelx?[45] 2020-08-06 23:38:35 +00:00
tst-cancelx5.c htl: Enable tst-cancelx?[45] 2020-08-06 23:38:35 +00:00
tst-cancelx6.c htl: Enable more cancel tests 2020-06-10 21:34:19 +00:00
tst-cancelx8.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx9.c htl: Enable more cancellation tests 2020-06-14 16:16:59 +00:00
tst-cancelx10.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx11.c htl: Enable more cancel tests 2020-06-10 21:34:19 +00:00
tst-cancelx12.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx13.c htl: Make sem_*wait cancellations points 2020-06-24 01:19:49 +02:00
tst-cancelx14.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx15.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx16.c htl: Enable cancel*16 an cancel*20 tests 2020-06-29 00:16:33 +00:00
tst-cancelx18.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cancelx20.c htl: Enable cancel*16 an cancel*20 tests 2020-06-29 00:16:33 +00:00
tst-cancelx21.c htl: Enable more cancel tests 2020-06-10 21:34:19 +00:00
tst-cleanup0.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cleanup0.expect htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cleanup1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cleanup2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cleanup3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cleanupx0.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cleanupx0.expect htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cleanupx1.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cleanupx2.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cleanupx3.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-clock1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cnd-basic.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cnd-broadcast.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cnd-timedwait-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cnd-timedwait.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond6.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond7.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond8-static.c pthread: Move most cond tests from nptl to sysdeps/pthread 2020-02-09 19:24:44 +00:00
tst-cond8.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond9.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond11-static.c pthread: Move most cond tests from nptl to sysdeps/pthread 2020-02-09 19:24:44 +00:00
tst-cond11-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cond11.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond12.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond13.c pthread: Move most cond tests from nptl to sysdeps/pthread 2020-02-09 19:24:44 +00:00
tst-cond14.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond15.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond16.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond17.c pthread: Move most cond tests from nptl to sysdeps/pthread 2020-02-09 19:24:44 +00:00
tst-cond18.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond19.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond20.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond21.c htl: Make pthread_cond_destroy wait for threads to be woken 2020-06-01 17:38:31 +00:00
tst-cond23.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond24.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond25.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond27.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-cond-except.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-create1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-create1mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-create-detached.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-detach1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-eintr2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-eintr3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-eintr4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-eintr5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-exec1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-exec2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-exec3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-exit1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-exit2.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-exit3.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-fini1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-fini1mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-flock1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-flock2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-fork1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-fork2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-fork3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-fork4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-getpid3.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-join1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join6.c pthread: Move some join tests from nptl to sysdeps/pthread 2020-02-10 01:21:46 +00:00
tst-join7.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join7mod.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join8.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join9.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join11.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join12.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join13.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join14-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-join14.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-join15.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-key1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-key2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-key3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-key4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-kill1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-kill2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-kill3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-kill5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-kill6.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-locale1.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-locale2.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-memstream.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mtx-basic.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mtx-recursive.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mtx-timedlock-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mtx-timedlock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mtx-trylock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex6.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex7.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex9.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex11.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-mutex-errorcheck.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-once1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-once2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-once3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-once4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-oncex3.c pthread: Move most once tests from nptl to sysdeps/pthread 2020-02-09 19:50:21 +00:00
tst-oncex4.c pthread: Move most once tests from nptl to sysdeps/pthread 2020-02-09 19:50:21 +00:00
tst-oncey3.c [PATCH] pthread_once hangs when init routine throws an exception [BZ #18435] 2021-03-04 15:15:33 +01:00
tst-oncey4.c [PATCH] pthread_once hangs when init routine throws an exception [BZ #18435] 2021-03-04 15:15:33 +01:00
tst-pt-align3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pt-align.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pt-popen1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pt-sysconf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pt-tls1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pt-tls2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pt-tls4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pt-vfork1.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-pt-vfork2.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-pthread_cancel-exited.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread_cancel-select-loop.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread_kill-exited.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread_kill-exiting.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-exit-signal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-mutexattr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-raise-blocked-self.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-pthread-setuid-loop.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-raise1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-robust1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-robust2.c pthread: Move robust mutex tests from nptl to sysdeps/pthread 2020-02-16 14:43:54 +00:00
tst-robust3.c pthread: Move robust mutex tests from nptl to sysdeps/pthread 2020-02-16 14:43:54 +00:00
tst-robust4.c pthread: Move robust mutex tests from nptl to sysdeps/pthread 2020-02-16 14:43:54 +00:00
tst-robust5.c pthread: Move robust mutex tests from nptl to sysdeps/pthread 2020-02-16 14:43:54 +00:00
tst-robust6.c pthread: Move robust mutex tests from nptl to sysdeps/pthread 2020-02-16 14:43:54 +00:00
tst-robust7.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-robust8.c pthread: Use pthread_mutexattr_setrobust in tests 2021-04-23 09:51:57 +02:00
tst-robust9.c pthread: Use pthread_mutexattr_setrobust in tests 2021-04-23 09:51:57 +02:00
tst-robust10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-robust11.c nptl: Reformat Makefile. 2023-05-10 13:15:13 -04:00
tst-rwlock1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock12.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock13.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock14-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-rwlock14.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock16.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock-tryrdlock-stall.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-rwlock-trywrlock-stall.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem5-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-sem5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem6.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem7.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem8.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem9.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem10.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem14.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem15.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-sem16.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-setuid3.c nptl: Use <support/check.h> facilities in tst-setuid3 2024-07-26 13:21:34 +01:00
tst-signal1.c signal: Avoid system signal disposition to interfere with tests 2024-03-27 13:47:09 -03:00
tst-signal2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-signal4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-signal5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-signal6.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-signal8.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-spin1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-spin2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-spin3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-spin4.c pthread: Move spin tests from nptl to sysdeps/pthread 2020-02-09 17:00:44 +00:00
tst-stack1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-stdio1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-stdio2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-thrd-detach.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-thrd-sleep-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-thrd-sleep.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-timer.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tls4moda.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tls4modb.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tsd1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tsd2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tsd5.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-tsd6.c Pass a valid pointer to pthread_setspecific to avoid GCC 11 warning. 2021-04-27 19:07:49 -06:00
tst-tss-basic.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-umask1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-unload.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
tst-unwind-thread.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-vfork1x.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-vfork2x.c htl: Enable more tests 2020-06-07 13:35:54 +02:00