glibc/posix
Arjun Shankar 52a103e237 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>
2022-05-25 11:27:31 +02:00
..
bits debug: Synchronize feature guards in fortified functions [BZ #28746] 2022-01-12 23:34:48 +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 [BZ 697] 2009-01-08 00:47:30 +00:00
sys linux: Add P_PIDFD 2022-05-17 10:34:36 -03:00
_exit.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
_Fork.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
alarm.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
annexc.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
BOOST.tests Update. 2003-12-27 23:40:06 +00:00
bsd-getpgrp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-ga1.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-ga2.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
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 2022-01-01 11:40:24 -08:00
bug-glob3.c Add test for last glob bug. 2010-03-24 12:10:51 -07:00
bug-regex1.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
bug-regex2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex5.c Fix posix/bug-regex5.c test case, adapt to iso14651_t1_common upate 2018-02-27 16:58:44 +01:00
bug-regex6.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex7.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex8.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex9.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex10.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex11.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex12.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex13.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex14.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex15.c 2002-12-13 Roland McGrath <roland@redhat.com> 2002-12-13 21:32:03 +00:00
bug-regex16.c Update. 2003-01-16 19:20:36 +00:00
bug-regex17.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex18.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex19.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex20.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex21.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex22.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex23.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex24.c Update. 2004-11-15 22:00:25 +00:00
bug-regex25.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex26.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex27.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex28.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex29.c Add missing stdio.h include. 2009-11-14 19:11:44 -08:00
bug-regex30.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex31.c Fix warning in posix/bug-regex31.c. 2014-11-25 21:40:51 +00:00
bug-regex31.input One more regex memory leak fixed. 2010-10-12 09:00:33 -04:00
bug-regex32.c Fix unnecessary overallocation due to incomplete character 2011-05-28 17:14:30 -04:00
bug-regex33.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex34.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex35.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex36.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex37.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bug-regex38.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
confstr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
cpio.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Depend
environ.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
execl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
execle.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
execlp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
execv.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
execve.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
execveat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
execvp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
execvpe.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fexecve.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
flexmember.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fnmatch_loop.c Fix handling of unterminated bracket expressions in fnmatch (bug 28792) 2022-01-24 17:13:33 +01:00
fnmatch.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fnmatch.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fork.c Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose 2022-05-25 11:27:31 +02:00
fpathconf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
gai_strerror.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
gai.conf [BZ #11438] 2012-09-28 10:15:05 -06:00
get_child_max.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getaddrinfo.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getconf-speclist.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getconf.c Update copyright dates not handled by scripts/update-copyrights. 2022-01-01 11:42:26 -08:00
getegid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
geteuid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getgid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getgroups.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getopt1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getopt_int.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getopt.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getopt.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getpgid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getpgrp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getpid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getppid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getresgid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getresuid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getsid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getuid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
glob64-lstat-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
glob64-time64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
glob64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
glob_internal.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
glob_pattern_p.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
glob-lstat-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
glob.c posix/glob.c: update from gnulib 2022-04-27 17:19:31 -04:00
glob.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
globfree64-time64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
globfree64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
globfree.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
globtest.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
globtest.sh Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
group_member.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
init-posix.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
Makefile linux: Add P_PIDFD 2022-05-17 10:34:36 -03:00
nanosleep.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pathconf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pause.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
PCRE.tests posix: Sync gnulib regex implementation 2018-07-04 09:54:45 -03:00
posix_madvise.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
posix-conf-vars.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
posix-conf-vars.list Use posix-conf-vars.list to generate spec array 2014-12-29 19:56:27 +05:30
posix-envs.def Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pread64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pread.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
PTESTS posix: remove some iso-8859-encoded characters 2021-09-01 14:29:59 -04:00
PTESTS2C.sed posix: remove some iso-8859-encoded characters 2021-09-01 14:29:59 -04:00
pwrite64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pwrite.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
re_comp.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
regcomp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
regex_internal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
regex_internal.h Replace {u}int_fast{16|32} with {u}int32_t 2022-04-13 21:23:04 -05:00
regex.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
regex.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
regexbug1.c Fix -Wformat-security warnings in posix/regexbug1.c 2014-12-11 13:08:26 -08:00
regexec.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
register-atfork.c Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose 2022-05-25 11:27:31 +02:00
runptests.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
runtests.c * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to 2007-07-28 20:36:21 +00:00
sched_cpualloc.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_cpucount.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_cpufree.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_getaffinity.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_getp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_gets.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_primax.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_primin.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_rr_gi.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_setaffinity.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_setp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_sets.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched_yield.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sched.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setgid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setpgid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setpgrp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setresgid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setresuid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setsid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setuid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
shm-directory.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sleep.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn_faction_addchdir.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn_faction_addclose.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn_faction_addclosefrom.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn_faction_adddup2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn_faction_addfchdir.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn_faction_addopen.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn_faction_addtcsetpgrp_np.c posix: Replace posix_spawnattr_tc{get,set}pgrp_np with posix_spawn_file_actions_addtcsetpgrp_np 2022-02-02 08:34:16 -03:00
spawn_faction_destroy.c posix: Replace posix_spawnattr_tc{get,set}pgrp_np with posix_spawn_file_actions_addtcsetpgrp_np 2022-02-02 08:34:16 -03:00
spawn_faction_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn_int.h posix: Replace posix_spawnattr_tc{get,set}pgrp_np with posix_spawn_file_actions_addtcsetpgrp_np 2022-02-02 08:34:16 -03:00
spawn_valid_fd.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawn.h posix: Replace posix_spawnattr_tc{get,set}pgrp_np with posix_spawn_file_actions_addtcsetpgrp_np 2022-02-02 08:34:16 -03:00
spawnattr_destroy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_getdefault.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_getflags.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_getpgroup.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_getschedparam.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_getschedpolicy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_getsigmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_setdefault.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_setflags.c posix: Replace posix_spawnattr_tc{get,set}pgrp_np with posix_spawn_file_actions_addtcsetpgrp_np 2022-02-02 08:34:16 -03:00
spawnattr_setpgroup.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_setschedparam.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_setschedpolicy.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnattr_setsigmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawni.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
spawnp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
streams-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sysconf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tar.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-errno.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-ssize-max.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-vfork.c Use (void) in no-arguments function definitions. 2013-06-08 00:22:23 +00:00
testfnm.c FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
TESTS
TESTS2C.sed
times.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
transbug.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
tst-_Fork.c posix: Remove unused variable on tst-_Fork.c 2022-03-31 08:57:12 -03:00
tst-boost.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-chmod.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-cpucount.c When iterating over CPU bitmask, don't try more than CPU_SETSIZE. 2009-06-15 21:12:57 -07:00
tst-cpuset.c * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. 2007-07-29 22:24:44 +00:00
tst-dir.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-exec-static.c Support run tst-exec and tst-spawn directly 2013-01-10 14:14:55 -08:00
tst-exec.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-execl1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execl2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execle1.c 2005-12-27 Roland McGrath <roland@redhat.com> 2005-12-27 22:49:45 +00:00
tst-execle2.c 2005-12-27 Roland McGrath <roland@redhat.com> 2005-12-27 22:49:45 +00:00
tst-execlp1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execlp2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execv1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execv2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execve1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execve2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execveat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-execvp1.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvp2.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvp3.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvp4.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvpe1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-execvpe2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-execvpe3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-execvpe4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-execvpe5.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-execvpe6.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-fexecve.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-fnmatch2.c FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
tst-fnmatch3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-fnmatch4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-fnmatch5.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-fnmatch6.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-fnmatch7.c Fix handling of unterminated bracket expressions in fnmatch (bug 28792) 2022-01-24 17:13:33 +01:00
tst-fnmatch.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-fnmatch.input Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-fork.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-getaddrinfo2.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-getaddrinfo3.c * posix/Makefile (tests): Add tst-getaddrinfo3. 2006-04-30 20:19:09 +00:00
tst-getaddrinfo4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-getaddrinfo5.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-getaddrinfo.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-getconf.sh Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-getopt_long1.c getopt: merge from gnulib: alloca avoidance 2017-04-07 07:51:52 -04:00
tst-getopt-cancel.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-glob_lstat_compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-glob_symlinks.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-glob-tilde.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -08:00
tst-gnuglob-skeleton.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-gnuglob.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-mmap-offset.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-mmap.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-nanosleep.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-nice.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-pathconf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-pcre.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-posix_fadvise64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-posix_fadvise-common.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-posix_fadvise.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-posix_spawn-fd.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-posix_spawn-setsid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-preadwrite64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-preadwrite-common.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-preadwrite.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-regcomp-truncated.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -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 2022-01-01 11:40:24 -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 Split up rules for tests using mtrace and something else. 2014-02-14 13:45:14 +00:00
tst-rxspencer.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-sched_getaffinity.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08: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 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-spawn2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-spawn3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-spawn4-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-spawn4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-spawn5.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-spawn6.c posix: Fix tst-spawn6 terminal handling (BZ #28853) 2022-02-03 08:04:08 -03:00
tst-spawn-chdir.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-spawn-static.c Support run tst-exec and tst-spawn directly 2013-01-10 14:14:55 -08:00
tst-spawn.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-sysconf-empty-chroot.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-sysconf.c Hurd: Update posix_opt.h 2012-05-10 15:57:27 -07:00
tst-truncate64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-truncate-common.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-truncate.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-vfork1.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-vfork2.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-vfork3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-wait3-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-wait3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-wait4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-wait4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-wait-skeleton.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-waitid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-wordexp-nocmd.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tstgetopt.c
uname-values.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
uname.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
unistd.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Versions posix: Replace posix_spawnattr_tc{get,set}pgrp_np with posix_spawn_file_actions_addtcsetpgrp_np 2022-02-02 08:34:16 -03:00
vfork.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wait3.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wait4.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wait.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wait.h
waitid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
waitpid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordexp-test.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordexp-tst.sh Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordexp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordexp.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00