glibc/sysdeps/pthread
Sergio Durigan Junior f957f47df7 sysdeps: sem_open: Clear O_CREAT when semaphore file is expected to exist [BZ #30789]
When invoking sem_open with O_CREAT as one of its flags, we'll end up
in the second part of sem_open's "if ((oflag & O_CREAT) == 0 || (oflag
& O_EXCL) == 0)", which means that we don't expect the semaphore file
to exist.

In that part, open_flags is initialized as "O_RDWR | O_CREAT | O_EXCL
| O_CLOEXEC" and there's an attempt to open(2) the file, which will
likely fail because it won't exist.  After that first (expected)
failure, some cleanup is done and we go back to the label "try_again",
which lives in the first part of the aforementioned "if".

The problem is that, in that part of the code, we expect the semaphore
file to exist, and as such O_CREAT (this time the flag we pass to
open(2)) needs to be cleaned from open_flags, otherwise we'll see
another failure (this time unexpected) when trying to open the file,
which will lead the call to sem_open to fail as well.

This can cause very strange bugs, especially with OpenMPI, which makes
extensive use of semaphores.

Fix the bug by simplifying the logic when choosing open(2) flags and
making sure O_CREAT is not set when the semaphore file is expected to
exist.

A regression test for this issue would require a complex and cpu time
consuming logic, since to trigger the wrong code path is not
straightforward due the racy condition.  There is a somewhat reliable
reproducer in the bug, but it requires using OpenMPI.

This resolves BZ #30789.

See also: https://bugs.launchpad.net/ubuntu/+source/h5py/+bug/2031912

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
Co-Authored-By: Simon Chopin <simon.chopin@canonical.com>
Co-Authored-By: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Fixes: 533deafbdf ("Use O_CLOEXEC in more places (BZ #15722)")
2023-11-03 15:19:38 -03:00
..
bits Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
allocalim.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
call_once.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
cnd_broadcast.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
cnd_destroy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
cnd_init.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
cnd_signal.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
cnd_timedwait.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
cnd_wait.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
eintr.c sysdeps/pthread/eintr.c: fix warn unused result 2023-05-24 21:52:31 -04:00
elision-conf.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Makeconfig Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. 2012-08-17 09:35:15 -07:00
Makefile Exclude routines from fortification 2023-07-05 16:59:48 +02:00
mtx_destroy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mtx_init.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mtx_lock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mtx_timedlock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mtx_trylock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mtx_unlock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
posix-timer.h Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
pthread_atfork_compat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pthread_atfork.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pthread_early_init.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pthread_mutex_conf.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sem_close.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sem_open.c sysdeps: sem_open: Clear O_CREAT when semaphore file is expected to exist [BZ #30789] 2023-11-03 15:19:38 -03:00
sem_routines.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sem_routines.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sem_unlink.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
semaphore.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
thrd_create.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
thrd_detach.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
thrd_equal.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
thrd_exit.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
thrd_join.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
thrd_priv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
thrd_sleep.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
threads.h Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tss_create.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tss_delete.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tss_get.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tss_set.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-_res1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-_res1mod1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-atfork1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-atfork2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-atfork2mod.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-atfork3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-atfork3mod.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-atfork4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-atfork4mod.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-attr1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-backtrace1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-bad-schedattr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-barrier1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-barrier2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-barrier3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-barrier4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-basic1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-basic2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-basic3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-basic4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-basic5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-basic6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-cancel1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel4-common.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel4-common.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel4.c tests: fix warn unused results 2023-06-01 13:01:32 -04:00
tst-cancel5.c htl: Enable tst-cancelx?[45] 2020-08-06 23:38:35 +00:00
tst-cancel6.c tests: replace fgets by xfgets 2023-06-13 19:59:08 -04:00
tst-cancel8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel10.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel11.c tests: replace read by xread 2023-06-19 09:14:56 -04:00
tst-cancel12.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-cancel13.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel14.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel15.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel16.c tests: fix warn unused results 2023-06-01 13:01:32 -04:00
tst-cancel18.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel19.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel20.c tests: replace read by xread 2023-06-19 09:14:56 -04:00
tst-cancel21-static.c htl: Enable more cancel tests 2020-06-10 21:34:19 +00:00
tst-cancel21.c tests: replace read by xread 2023-06-19 09:14:56 -04:00
tst-cancel22.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-cancel27.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel28.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel29.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel30.c nptl: Fix tst-cancel30 on sparc64 2023-04-03 17:41:59 -03:00
tst-cancel-self-cancelstate.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel-self-canceltype.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel-self-cleanup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel-self-testcancel.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cancel-self.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-cleanup2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cleanup3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-cnd-basic.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cnd-broadcast.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-cond1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond2.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-cond3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-cond9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond10.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-cond12.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-cond15.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond16.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 tests: replace write by xwrite 2023-06-01 12:40:05 -04:00
tst-cond19.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond20.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-cond24.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond25.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond27.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-cond-except.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-create1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-create1mod.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-create-detached.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-detach1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-eintr2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-eintr3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-eintr4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-eintr5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-exec1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-exec2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-exec3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-exit1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-fini1mod.c tests: replace read by xread 2023-06-19 09:14:56 -04:00
tst-flock1.c tests: replace write by xwrite 2023-06-01 12:40:05 -04:00
tst-flock2.c tests: replace write by xwrite 2023-06-01 12:40:05 -04:00
tst-fork1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fork2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fork3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fork4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-join2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-join7mod.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join10.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join11.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join12.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-join13.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-join15.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-key1.c tests: replace write by xwrite 2023-06-01 12:40:05 -04:00
tst-key2.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-key3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-key4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-kill1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-kill2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-kill3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-kill5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-kill6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-mtx-basic.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mtx-recursive.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-mtx-trylock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex2.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-mutex3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex10.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-mutex11.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mutex-errorcheck.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-once1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-once2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-once3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-once4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-pt-align.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pt-popen1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pt-sysconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pt-tls1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pt-tls2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pt-tls4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-pthread_cancel-select-loop.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pthread_kill-exited.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pthread_kill-exiting.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pthread-exit-signal.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pthread-mutexattr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pthread-raise-blocked-self.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pthread-setuid-loop.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-raise1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-robust1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-rwlock4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-rwlock5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-rwlock12.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-rwlock13.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-rwlock16.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-rwlock-tryrdlock-stall.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-rwlock-trywrlock-stall.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-sem1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-sem6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem10.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem14.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem15.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sem16.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-setuid3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-signal1.c tests: replace write by xwrite 2023-06-01 12:40:05 -04:00
tst-signal2.c tests: replace write by xwrite 2023-06-01 12:40:05 -04:00
tst-signal4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-signal5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-signal6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-signal8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-spin1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-spin2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-spin3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-stdio1.c pthreads: Use _exit to terminate the tst-stdio1 test 2023-06-06 11:39:06 +02:00
tst-stdio2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-thrd-detach.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-timer.c tests: replace write by xwrite 2023-06-01 12:40:05 -04:00
tst-tls4moda.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-tls4modb.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-tsd1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-tsd2.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
tst-tsd5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-umask1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-unload.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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