glibc/posix
Arjun Shankar ff450cdbde Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose
In multi-threaded programs, registering via pthread_atfork,
de-registering implicitly via dlclose, or running pthread_atfork
handlers during fork was protected by an internal lock.  This meant
that a pthread_atfork handler attempting to register another handler or
dlclose a dynamically loaded library would lead to a deadlock.

This commit fixes the deadlock in the following way:

During the execution of handlers at fork time, the atfork lock is
released prior to the execution of each handler and taken again upon its
return.  Any handler registrations or de-registrations that occurred
during the execution of the handler are accounted for before proceeding
with further handler execution.

If a handler that hasn't been executed yet gets de-registered by another
handler during fork, it will not be executed.   If a handler gets
registered by another handler during fork, it will not be executed
during that particular fork.

The possibility that handlers may now be registered or deregistered
during handler execution means that identifying the next handler to be
run after a given handler may register/de-register others requires some
bookkeeping.  The fork_handler struct has an additional field, 'id',
which is assigned sequentially during registration.  Thus, handlers are
executed in ascending order of 'id' during 'prepare', and descending
order of 'id' during parent/child handler execution after the fork.

Two tests are included:

* tst-atfork3: Adhemerval Zanella <adhemerval.zanella@linaro.org>
  This test exercises calling dlclose from prepare, parent, and child
  handlers.

* tst-atfork4: This test exercises calling pthread_atfork and dlclose
  from the prepare handler.

[BZ #24595, BZ #27054]

Co-authored-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
(cherry picked from commit 52a103e237)
2022-05-30 12:38:32 +02:00
..
bits debug: Synchronize feature guards in fortified functions [BZ #28746] 2022-03-11 20:36:24 +05:30
bug-ga2.root/etc Use libnss_files.so for tests posix/bug-ga2 and resolv/tst-leaks2 [BZ #26821] 2020-11-23 10:51:24 +01:00
rxspencer
sys y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
_exit.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
_Fork.c posix: Consolidate fork implementation 2021-06-24 10:02:06 -03:00
alarm.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
annexc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
BOOST.tests
bsd-getpgrp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-ga1.c
bug-ga2.c Use libnss_files.so for tests posix/bug-ga2 and resolv/tst-leaks2 [BZ #26821] 2020-11-23 10:51:24 +01:00
bug-getopt1.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-getopt2.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-getopt3.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-getopt4.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-getopt5.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-glob2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-glob3.c
bug-regex1.c
bug-regex2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex5.c
bug-regex6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex8.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex9.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex10.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex11.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex12.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex13.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex14.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex15.c
bug-regex16.c
bug-regex17.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex18.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex19.c Fix stringop-overflow warning in bug-regex19.c. 2021-05-18 10:07:30 +02:00
bug-regex20.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex21.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex22.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex23.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex24.c
bug-regex25.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex26.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex27.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex28.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex29.c
bug-regex30.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex31.c
bug-regex31.input
bug-regex32.c
bug-regex33.c Annotate additional APIs with GCC attribute access. 2021-05-06 11:01:05 -06:00
bug-regex34.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex35.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex36.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex37.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex38.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
confstr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
cpio.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Depend
environ.c
execl.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execle.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execlp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execv.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execve.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execveat.c linux: Add execveat system call wrapper 2021-05-03 16:46:06 -03:00
execvp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execvpe.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fexecve.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
flexmember.h Sync flexmember.h with gnulib 2021-01-04 08:42:25 -03:00
fnmatch_loop.c posix: Sync fnmatch with gnulib 2021-01-04 09:02:39 -03:00
fnmatch.c posix: Falling back to non wide mode in case of encoding error [BZ #14185] 2021-02-23 15:58:04 -03:00
fnmatch.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fork.c Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose 2022-05-30 12:38:32 +02:00
fpathconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gai_strerror.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gai.conf
get_child_max.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getaddrinfo.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getconf-speclist.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getconf.c Fix argv overrun in getconf (bug 27761) 2021-04-21 15:11:26 +02:00
getegid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
geteuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getgroups.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getopt1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getopt_int.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getopt.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getopt.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getpgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getpgrp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getpid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getppid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getresgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getresuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getsid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
glob64-lstat-compat.c posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
glob64-time64.c Fix extra PLT reference in libc.so due to __glob64_time64 if build with gcc 7.5 on 32bit. 2021-07-01 16:46:59 +02:00
glob64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
glob_internal.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
glob_pattern_p.c posix: Sync glob code with gnulib 2021-01-04 08:41:53 -03:00
glob-lstat-compat.c hurd: Fix glob lstat compatibility 2021-07-22 20:31:52 +02:00
glob.c posix/glob.c: update from gnulib 2022-04-28 11:57:23 -04:00
glob.h posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
globfree64-time64.c posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
globfree64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
globfree.c posix: Sync glob code with gnulib 2021-01-04 08:41:53 -03:00
globtest.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
globtest.sh Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
group_member.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
init-posix.c
Makefile linux: Simplify get_nprocs 2021-10-01 18:19:10 +02:00
nanosleep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pathconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pause.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
PCRE.tests
posix_madvise.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
posix-conf-vars.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
posix-conf-vars.list
posix-envs.def Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pread64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pread.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
PTESTS
PTESTS2C.sed
pwrite64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pwrite.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
re_comp.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
regcomp.c posix: Sync regex code with gnulib 2021-01-04 08:38:52 -03:00
regex_internal.c posix: Sync regex code with gnulib 2021-01-04 08:38:52 -03:00
regex_internal.h regex: stop using alloca 2021-02-09 16:58:16 -03:00
regex.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
regex.h Annotate additional APIs with GCC attribute access. 2021-05-06 11:01:05 -06:00
regexbug1.c
regexec.c regexec: remove alloca usage in build_trtable 2021-02-09 16:57:56 -03:00
register-atfork.c Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose 2022-05-30 12:38:32 +02:00
runptests.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
runtests.c
sched_cpualloc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_cpucount.c linux: Use sched_getaffinity for __get_nprocs (BZ #27645) 2021-05-07 13:54:09 -03:00
sched_cpufree.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_getaffinity.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_getp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_gets.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_primax.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_primin.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_rr_gi.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_setaffinity.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_setp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_sets.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_yield.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
setgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setpgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setpgrp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setresgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setresuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setsid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
shm-directory.c nptl: Move sem_close, sem_open into libc 2021-05-05 17:19:38 +02:00
sleep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addchdir.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addclose.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addclosefrom.c posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
spawn_faction_adddup2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addfchdir.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addopen.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_destroy.c posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
spawn_faction_init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_int.h posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
spawn_valid_fd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn.h posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
spawnattr_destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getdefault.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getflags.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getpgroup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getsigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setdefault.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setflags.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setpgroup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setsigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawni.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
streams-compat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sysconf.c sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305] 2021-02-01 11:00:52 -08:00
tar.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-errno.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-ssize-max.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-vfork.c
testfnm.c
TESTS
TESTS2C.sed
times.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
transbug.c
tst-_Fork.c posix: Add _Fork [BZ #4737] 2021-06-28 15:55:56 -03:00
tst-boost.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-chmod.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cpucount.c
tst-cpuset.c
tst-dir.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-exec-static.c
tst-exec.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execl1.c
tst-execl2.c
tst-execle1.c
tst-execle2.c
tst-execlp1.c
tst-execlp2.c
tst-execv1.c
tst-execv2.c
tst-execve1.c
tst-execve2.c
tst-execveat.c posix: Fix Hurd build failure in tst-execveat 2021-05-04 16:03:07 +02:00
tst-execvp1.c
tst-execvp2.c
tst-execvp3.c
tst-execvp4.c
tst-execvpe1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fexecve.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch2.c
tst-fnmatch3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch.input posix: Falling back to non wide mode in case of encoding error [BZ #14185] 2021-02-23 15:58:04 -03:00
tst-fork.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getaddrinfo2.c
tst-getaddrinfo3.c
tst-getaddrinfo4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getaddrinfo5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getaddrinfo.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getconf.sh Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getopt_long1.c
tst-getopt-cancel.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-glob_lstat_compat.c posix: tst-glob_lstat_compat no longer needs to be an internal test 2021-03-09 21:07:24 +01:00
tst-glob_symlinks.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-glob-tilde.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-gnuglob64-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-gnuglob64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-gnuglob-skeleton.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-gnuglob.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mmap-offset.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mmap.c
tst-nanosleep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-nice.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-pathconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-pcre.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_fadvise64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_fadvise-common.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_fadvise.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_spawn-fd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_spawn-setsid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-preadwrite64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-preadwrite-common.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-preadwrite.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-regcomp-truncated.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-regex2.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-regex.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-regex.input Fix posix/tst-regex by using UTF-8 and own test input 2019-08-29 02:38:14 -07:00
tst-regexloc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rfc3484-2.c posix/tst-rfc3484: Fix compile failure linking to local __stat64 2021-02-03 16:12:13 -03:00
tst-rfc3484-3.c posix/tst-rfc3484: Fix compile failure linking to local __stat64 2021-02-03 16:12:13 -03:00
tst-rfc3484.c posix/tst-rfc3484: Fix compile failure linking to local __stat64 2021-02-03 16:12:13 -03:00
tst-rxspencer-no-utf8.c
tst-rxspencer.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-sched_getaffinity.c linux: Simplify get_nprocs 2021-10-01 18:19:10 +02:00
tst-sched_rr_get_interval-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-sched_rr_get_interval.c tst: Provide test for sched_rr_get_interval 2021-02-16 20:35:37 +01:00
tst-spawn2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-spawn3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-spawn4-compat.c posix: tst-spawn4-compat can be a regular test 2021-03-09 21:07:24 +01:00
tst-spawn4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-spawn5.c Use support_open_dev_null_range io/tst-closefrom, misc/tst-close_range, and posix/tst-spawn5 (BZ #28260) 2021-09-21 22:26:26 +12:00
tst-spawn-chdir.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-spawn-static.c
tst-spawn.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-sysconf-empty-chroot.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-sysconf.c
tst-truncate64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-truncate-common.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-truncate.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-vfork1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-vfork2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-vfork3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-wait3-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-wait3.c posix: Add wait3 tests 2021-04-15 11:32:40 -03:00
tst-wait4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-wait4.c posix: Add wait3 tests 2021-04-15 11:32:40 -03:00
tst-wait-skeleton.c posix: Add wait3 tests 2021-04-15 11:32:40 -03:00
tst-waitid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-wordexp-nocmd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tstgetopt.c
uname-values.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
uname.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
unistd.h Don't add access size hints to fortifiable functions 2022-03-11 20:36:24 +05:30
Versions posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
vfork.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wait3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wait4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wait.h
waitid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
waitpid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordexp-test.c wordexp: handle overflow in positional parameter number (bug 28011) 2021-06-27 19:35:42 +02:00
wordexp-tst.sh Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordexp.c wordexp: handle overflow in positional parameter number (bug 28011) 2021-06-27 19:35:42 +02:00
wordexp.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00