glibc/posix
Adhemerval Zanella Netto 0d6f9f6265 posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349)
Returning a pidfd allows a process to keep a race-free handle for a
child process, otherwise, the caller will need to either use pidfd_open
(which still might be subject to TOCTOU) or keep the old racy interface
base on pid_t.

To correct use pifd_spawn, the kernel must support not only returning
the pidfd with clone/clone3 but also waitid (P_PIDFD) (added on Linux
5.4).  If kernel does not support the waitid, pidfd return ENOSYS.
It avoids the need to racy workarounds, such as reading the procfs
fdinfo to get the pid to use along with other wait interfaces.

These interfaces are similar to the posix_spawn and posix_spawnp, with
the only difference being it returns a process file descriptor (int)
instead of a process ID (pid_t).  Their prototypes are:

  int pidfd_spawn (int *restrict pidfd,
                   const char *restrict file,
                   const posix_spawn_file_actions_t *restrict facts,
                   const posix_spawnattr_t *restrict attrp,
                   char *const argv[restrict],
                   char *const envp[restrict])

  int pidfd_spawnp (int *restrict pidfd,
                    const char *restrict path,
                    const posix_spawn_file_actions_t *restrict facts,
                    const posix_spawnattr_t *restrict attrp,
                    char *const argv[restrict_arr],
                    char *const envp[restrict_arr]);

A new symbol is used instead of a posix_spawn extension to avoid
possible issues with language bindings that might track the return
argument lifetime.  Although on Linux pid_t and int are interchangeable,
POSIX only states that pid_t should be a signed integer.

Both symbols reuse the posix_spawn posix_spawn_file_actions_t and
posix_spawnattr_t, to void rehash posix_spawn API or add a new one. It
also means that both interfaces support the same attribute and file
actions, and a new flag or file action on posix_spawn is also added
automatically for pidfd_spawn.

Also, using posix_spawn plumbing allows the reusing of most of the
current testing with some changes:

  - waitid is used instead of waitpid since it is a more generic
    interface.

  - tst-posix_spawn-setsid.c is adapted to take into consideration that
    the caller can check for session id directly.  The test now spawns
itself and writes the session id as a file instead.

  - tst-spawn3.c need to know where pidfd_spawn is used so it keeps an
    extra file description unused.

Checked on x86_64-linux-gnu on Linux 4.15 (no CLONE_PIDFD or waitid
support), Linux 5.4 (full support), and Linux 6.2.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
2023-09-05 13:08:59 -03:00
..
bits unistd: Avoid PLT entries with _FORTIFY_SOURCE 2023-07-05 16:59:48 +02:00
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 Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
sys Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
_exit.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
_Fork.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
alarm.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
annexc.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
BOOST.tests Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
bsd-getpgrp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
bug-glob3.c
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 2023-01-06 21:14:39 +00:00
bug-regex3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
bug-regex7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex8.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex9.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex10.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex11.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex12.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex13.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex14.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex15.c
bug-regex16.c
bug-regex17.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex18.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex19.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex20.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex21.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex22.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex23.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex24.c
bug-regex25.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex26.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex27.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex28.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex29.c
bug-regex30.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex31.c Fix warning in posix/bug-regex31.c. 2014-11-25 21:40:51 +00:00
bug-regex31.input
bug-regex32.c
bug-regex33.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex34.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex35.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex36.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex37.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-regex38.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
confstr.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
cpio.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Depend
environ.c
execl.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
execle.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
execlp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
execv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
execve.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
execveat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
execvp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
execvpe.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fexecve.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
flexmember.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fnmatch_loop.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fnmatch.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fnmatch.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fork.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fpathconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gai_strerror.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gai.conf [BZ #11438] 2012-09-28 10:15:05 -06:00
get_child_max.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getaddrinfo.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getconf-speclist.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getconf.c Update copyright dates not handled by scripts/update-copyrights 2023-01-06 21:45:36 +00:00
getegid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
geteuid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getgid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getgroups.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getopt1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getopt_int.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getopt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getopt.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getpgid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getpgrp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getpid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getppid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getresgid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getresuid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getsid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getuid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glob64-lstat-compat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glob64-time64.c __glob64_time64: Fix typo for stub_warning call (BZ #30146) 2023-02-20 13:44:48 +01:00
glob64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glob_internal.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glob_pattern_p.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glob-lstat-compat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glob.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glob.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
globfree64-time64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
globfree64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
globfree.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
globtest.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
globtest.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
group_member.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
init-posix.c
Makefile posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
nanosleep.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pathconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pause.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
posix-conf-vars.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
pread64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pread.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
PTESTS Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00: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 2023-01-06 21:14:39 +00:00
pwrite.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
re_comp.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
regcomp.c Fix regex type usage 2023-05-01 09:08:59 -04:00
regex_internal.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
regex_internal.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
regex.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
regex.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
regexbug1.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
regexec.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
register-atfork.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
runptests.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
runtests.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
sched_cpualloc.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_cpucount.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_cpufree.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_getaffinity.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_getp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_gets.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_primax.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_primin.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_rr_gi.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_setaffinity.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_setp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_sets.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched_yield.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sched.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
setgid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
setpgid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
setpgrp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
setresgid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
setresuid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
setsid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
setuid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
shm-directory.c rt: fix shm_open not set ENAMETOOLONG when name exceeds {_POSIX_PATH_MAX} 2023-03-08 10:11:54 -03:00
sleep.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_addchdir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_addclose.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_addclosefrom.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_adddup2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_addfchdir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_addopen.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_addtcsetpgrp_np.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_destroy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_faction_init.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn_int.h posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
spawn_valid_fd.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawn.h linux: Add posix_spawnattr_{get, set}cgroup_np (BZ 26371) 2023-09-05 13:08:48 -03:00
spawnattr_destroy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_getdefault.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_getflags.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_getpgroup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_getschedparam.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_getschedpolicy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_getsigmask.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_init.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_setdefault.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_setflags.c linux: Add posix_spawnattr_{get, set}cgroup_np (BZ 26371) 2023-09-05 13:08:48 -03:00
spawnattr_setpgroup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_setschedparam.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_setschedpolicy.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnattr_setsigmask.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawni.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spawnp.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
streams-compat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tar.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-errno.c posix: Fix test-errno build with fortify enable 2023-07-26 09:45:46 -03:00
test-ssize-max.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-vfork.c Use (void) in no-arguments function definitions. 2013-06-08 00:22:23 +00:00
testfnm.c
TESTS
TESTS2C.sed
times.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
transbug.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
tst-_Fork.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-boost.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-chmod.c tests: Replace various function calls with their x variant 2023-06-06 08:23:53 -04:00
tst-cpucount.c
tst-cpuset.c
tst-dir.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-exec-static.c Support run tst-exec and tst-spawn directly 2013-01-10 14:14:55 -08:00
tst-exec.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-execl1.c
tst-execl2.c tests: fix warn unused result on asprintf calls 2023-06-06 08:23:53 -04:00
tst-execle1.c
tst-execle2.c tests: fix warn unused result on asprintf calls 2023-06-06 08:23:53 -04:00
tst-execlp1.c
tst-execlp2.c tests: fix warn unused result on asprintf calls 2023-06-06 08:23:53 -04:00
tst-execv1.c
tst-execv2.c tests: fix warn unused result on asprintf calls 2023-06-06 08:23:53 -04:00
tst-execve1.c
tst-execve2.c tests: fix warn unused result on asprintf calls 2023-06-06 08:23:53 -04:00
tst-execveat.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-execvp1.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvp2.c tests: fix warn unused result on asprintf calls 2023-06-06 08:23:53 -04: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 2023-01-06 21:14:39 +00:00
tst-execvpe2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-execvpe3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-execvpe4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-execvpe5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-execvpe6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fexecve.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fnmatch2.c
tst-fnmatch3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fnmatch4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fnmatch5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fnmatch6.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fnmatch7.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fnmatch.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fnmatch.input Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fork.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-gai_strerror.c posix: Add test case for gai_strerror() 2023-06-13 20:55:02 +02:00
tst-getaddrinfo2.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-getaddrinfo3.c
tst-getaddrinfo4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-getaddrinfo5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-getaddrinfo.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-getconf.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-getopt_long1.c getopt: merge from gnulib: alloca avoidance 2017-04-07 07:51:52 -04:00
tst-getopt-cancel.c tests: replace ftruncate by xftruncate 2023-06-01 12:45:13 -04:00
tst-glob_lstat_compat.c tst-*glob*: Do not check d_name size 2023-08-03 22:41:45 +02:00
tst-glob_symlinks.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-glob-tilde.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-gnuglob-skeleton.c tst-*glob*: Do not check d_name size 2023-08-03 22:41:45 +02:00
tst-gnuglob.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-mmap-offset.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-nice.c tests: fix warn unused results 2023-06-01 13:01:32 -04:00
tst-pathconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-pcre.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-posix_fadvise64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-posix_fadvise-common.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-posix_fadvise.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-posix_spawn-fd.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-posix_spawn-setsid.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-preadwrite64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-preadwrite-common.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-preadwrite.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-regcomp-truncated.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-regex2.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-regex.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-regex.input Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
tst-regexloc.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-sched_getaffinity.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-spawn2.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-spawn3.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-spawn4-compat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-spawn4.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-spawn5.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-spawn6.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-spawn7.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-spawn-chdir.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-spawn-static.c Support run tst-exec and tst-spawn directly 2013-01-10 14:14:55 -08:00
tst-spawn.c posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-spawn.h posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) 2023-09-05 13:08:59 -03:00
tst-sysconf-empty-chroot.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-sysconf.c
tst-truncate64.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-truncate-common.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-truncate.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-vfork1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-vfork2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-vfork3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
tst-wait-skeleton.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-waitid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-wordexp-nocmd.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tstgetopt.c
uname-values.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
uname.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
unistd.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00: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 2023-01-06 21:14:39 +00:00
wait3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wait4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wait.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wait.h
waitid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
waitpid.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wordexp-test.c tests: Replace various function calls with their x variant 2023-06-06 08:23:53 -04:00
wordexp-tst.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wordexp.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
wordexp.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00