glibc/posix
Zack Weinberg 329ea513b4 Avoid cancellable I/O primitives in ld.so.
Neither the <dlfcn.h> entry points, nor lazy symbol resolution, nor
initial shared library load-up, are cancellation points, so ld.so
should exclusively use I/O primitives that are not cancellable.  We
currently achieve this by having the cancellation hooks compile as
no-ops when IS_IN(rtld); this patch changes to using exclusively
_nocancel primitives in the source code instead, which makes the
intent clearer and significantly reduces the amount of code compiled
under IS_IN(rtld) as well as IS_IN(libc) -- in particular,
elf/Makefile no longer thinks we require a copy of unwind.c in
rtld-libc.a.  (The older mechanism is preserved as a backstop.)

The bulk of the change is splitting up the files that define the
_nocancel I/O functions, so they don't also define the variants that
*are* cancellation points; after which, the existing logic for picking
out the bits of libc that need to be recompiled as part of ld.so Just
Works.  I did this for all of the _nocancel functions, not just the
ones used by ld.so, for consistency.

fcntl was a little tricky because it's only a cancellation point for
certain opcodes (F_SETLKW(64), which can block), and the existing
__fcntl_nocancel wasn't applying the FCNTL_ADJUST_CMD hook, which
strikes me as asking for trouble, especially as the only nontrivial
definition of FCNTL_ADJUST_CMD (for powerpc64) changes F_*LK* opcodes.
To fix this, fcntl_common moves to fcntl_nocancel.c along with
__fcntl_nocancel, and changes its name to the extern (but hidden)
symbol __fcntl_nocancel_adjusted, so that regular fcntl can continue
calling it.  __fcntl_nocancel now applies FCNTL_ADJUST_CMD; so that
both both fcntl.c and fcntl_nocancel.c can see it, the only nontrivial
definition moves from sysdeps/u/s/l/powerpc/powerpc64/fcntl.c to
.../powerpc64/sysdep.h and becomes entirely a macro, instead of a macro
that calls an inline function.

The nptl version of libpthread also changes a little, because its
"compat-routines" formerly included files that defined all the
_nocancel functions it uses; instead of continuing to duplicate them,
I exported the relevant ones from libc.so as GLIBC_PRIVATE.  Since the
Linux fcntl.c calls a function defined by fcntl_nocancel.c, it can no
longer be used from libpthread.so; instead, introduce a custom
forwarder, pt-fcntl.c, and export __libc_fcntl from libc.so as
GLIBC_PRIVATE.  The nios2-linux ABI doesn't include a copy of vfork()
in libpthread, and it was handling that by manipulating
libpthread-routines in .../linux/nios2/Makefile; it is cleaner to do
what other such ports do, and have a pt-vfork.S that defines no symbols.

Right now, it appears that Hurd does not implement _nocancel I/O, so
sysdeps/generic/not-cancel.h will forward everything back to the
regular functions.  This changed the names of some of the functions
that sysdeps/mach/hurd/dl-sysdep.c needs to interpose.

	* elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
	* sysdeps/unix/sysv/linux/dl-sysdep.c
	Include not-cancel.h.  Use __close_nocancel instead of __close,
	__open64_nocancel instead of __open, __read_nocancel instead of
	__libc_read, and __write_nocancel instead of __libc_write.

	* csu/check_fds.c (check_one_fd)
	* sysdeps/posix/fdopendir.c (__fdopendir)
	* sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
        instead of __fcntl and/or __libc_fcntl.

	* sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
	* sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
        * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
	Use __open64_nocancel instead of __open_nocancel.

	* sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
	hidden_proto declarations to the end and issue them if either
	IS_IN(libc) or IS_IN(rtld).
	* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
	Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
	open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
	read_nocancel, waitpid_nocancel, write_nocancel.

        * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
        __fcntl_nocancel, __open64_nocancel, __write_nocancel.
        * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.

        * nptl/pt-fcntl.c: New file.
        * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
        (libpthread-routines): Add pt-fcntl.
        * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
        (__libc_fcntl): Remove attribute_hidden.
	* sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
	__fcntl_nocancel_adjusted, not fcntl_common.
        (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
	(fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
	to fcntl_nocancel.c.
	* sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
	Define FCNTL_ADJUST_CMD here, as a self-contained macro.

	* sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
	* sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
	* sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
	* sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
	* sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
	* sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
	* sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
	* sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
	* sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
	* sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
	* sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
	* sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.

        * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
        libpthread-routines.
        * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
        defines nothing.

        * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
        __libc_read, and __write instead of __libc_write.  Define
        __open64 in addition to __open.
2018-06-12 09:53:04 -04:00
..
bits Define char16_t, char32_t consistently with uint_least16_t, uint_least32_t (bug 17979). 2018-02-07 20:33:55 +00:00
rxspencer [BZ 697] 2009-01-08 00:47:30 +00:00
sys [BZ #19239] Don't include sys/sysmacros.h from sys/types.h. 2018-02-12 07:34:50 -05:00
_exit.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
alarm.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
annexc.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
BOOST.tests Update. 2003-12-27 23:40:06 +00:00
bsd-getpgrp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-ga1.c * posix/bug-ga1.c: Include <string.h> for memset prototype. 2004-02-21 18:40:55 +00:00
bug-ga2.c Update. 2004-02-23 19:54:06 +00:00
bug-getopt1.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-getopt2.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-getopt3.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-getopt4.c getopt: refactor long-option handling 2017-04-07 07:51:28 -04:00
bug-getopt5.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-glob2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-glob3.c Add test for last glob bug. 2010-03-24 12:10:51 -07:00
bug-regex1.c
bug-regex2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex3.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex4.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +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. 2018-01-01 00:32:25 +00:00
bug-regex7.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex8.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex9.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex10.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex11.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex12.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex13.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex14.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex15.c
bug-regex16.c
bug-regex17.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex18.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex19.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex20.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex21.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex22.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex23.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex24.c Update. 2004-11-15 22:00:25 +00:00
bug-regex25.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex26.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex27.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex28.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00:00
bug-regex34.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex35.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-regex36.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
confstr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
cpio.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00:00
execle.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
execlp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
execv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
execve.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
execvp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
execvpe.c posix: Fix posix_spawnp to not execute invalid binaries in non compat mode (BZ#23264) 2018-06-08 17:27:46 -03:00
fexecve.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
flexmember.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fnmatch_loop.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fnmatch.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fnmatch.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fork.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fpathconf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gai_strerror.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +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. 2018-01-01 00:32:25 +00:00
getaddrinfo.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getconf-speclist.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getconf.c Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
getegid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
geteuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getgid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getgroups.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getopt1.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getopt_int.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getopt.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getopt.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getpgid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getpgrp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getpid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getppid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getresgid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getresuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob64-lstat-compat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob_internal.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob_pattern_p.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob-lstat-compat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
globfree64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
globfree.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
globtest.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
globtest.sh Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
group_member.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
init-posix.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
Makefile posix: Fix posix_spawnp to not execute invalid binaries in non compat mode (BZ#23264) 2018-06-08 17:27:46 -03:00
nanosleep.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pathconf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pause.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
PCRE.tests Update. 2004-11-25 22:32:18 +00:00
posix_madvise.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
posix-conf-vars.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +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. 2018-01-01 00:32:25 +00:00
pread64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pread.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ptestcases.h Update. 2003-11-26 03:24:15 +00:00
PTESTS Update. 2003-11-26 03:24:15 +00:00
PTESTS2C.sed Update. 2003-11-13 01:04:26 +00:00
pwrite64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pwrite.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
re_comp.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
regcomp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
regex_internal.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
regex_internal.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
regex.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
regex.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00:00
runptests.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00:00
sched_cpucount.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_cpufree.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_getaffinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_getp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_gets.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_primax.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_primin.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_rr_gi.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_setaffinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_setp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_sets.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_yield.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched.h Revert "Fix sched_param" 2018-04-19 00:09:58 +02:00
setgid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setpgid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setpgrp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setresgid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setresuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setsid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sleep.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn_faction_addclose.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn_faction_adddup2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn_faction_addopen.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn_faction_destroy.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn_faction_init.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn_int.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn_valid_fd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawn.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_destroy.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_getdefault.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_getflags.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_getpgroup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_getschedparam.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_getschedpolicy.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_getsigmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_init.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_setdefault.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_setflags.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_setpgroup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_setschedparam.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_setschedpolicy.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnattr_setsigmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawni.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawnp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tar.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
test-errno.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
test-ssize-max.c Correct type of SSIZE_MAX for 32-bit (bug 13575). 2018-02-06 21:38:51 +00:00
test-vfork.c Use (void) in no-arguments function definitions. 2013-06-08 00:22:23 +00:00
testcases.h
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. 2018-01-01 00:32:25 +00:00
transbug.c Fix executable mode. 2013-06-06 02:15:33 +02:00
tst-boost.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-chmod.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +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 Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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-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. 2018-01-01 00:32:25 +00:00
tst-execvpe2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-execvpe3.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-execvpe4.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-execvpe5.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-execvpe6.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-fexecve.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00:00
tst-fnmatch.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-fnmatch.input Fix test cases tst-fnmatch and tst-regexloc for the new iso14651_t1_common file. 2018-02-27 17:00:21 +01:00
tst-fork.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00:00
tst-getaddrinfo5.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-getaddrinfo.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-getconf.sh Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00:00
tst-glob_lstat_compat.c Fix posix/tst-glob_lstat_compat on alpha [BZ #22818] 2018-02-18 18:23:47 +01:00
tst-glob_symlinks.c hurd: Fix posix glob test 2018-01-06 22:19:13 +01:00
tst-glob-tilde.c Increase some test timeouts. 2018-01-04 21:58:40 +00:00
tst-gnuglob64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-gnuglob-skeleton.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-gnuglob.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-mmap-offset.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +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. 2018-01-01 00:32:25 +00:00
tst-nice.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-pathconf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-pcre.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-posix_fadvise64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-posix_fadvise-common.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-posix_fadvise.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-posix_spawn-fd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-posix_spawn-setsid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-preadwrite64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-preadwrite-common.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-preadwrite.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-regex2.c Update tst-regex.c/tst-regex2.c for old ChangeLog move 2017-09-01 10:20:49 -07:00
tst-regex.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-regexloc.c Fix test cases tst-fnmatch and tst-regexloc for the new iso14651_t1_common file. 2018-02-27 17:00:21 +01:00
tst-rfc3484-2.c Fix multiple definitions of __nss_*_database (bug 22918) 2018-03-03 17:44:24 +01:00
tst-rfc3484-3.c Fix multiple definitions of __nss_*_database (bug 22918) 2018-03-03 17:44:24 +01:00
tst-rfc3484.c Fix multiple definitions of __nss_*_database (bug 22918) 2018-03-03 17:44:24 +01: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. 2018-01-01 00:32:25 +00:00
tst-spawn2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-spawn3.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-spawn4-compat.c posix: Fix posix_spawnp to not execute invalid binaries in non compat mode (BZ#23264) 2018-06-08 17:27:46 -03:00
tst-spawn4.c posix: Fix posix_spawnp to not execute invalid binaries in non compat mode (BZ#23264) 2018-06-08 17:27:46 -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 Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-sysconf-empty-chroot.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00: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. 2018-01-01 00:32:25 +00:00
tst-truncate-common.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-truncate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-vfork1.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-vfork2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-vfork3.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-waitid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tstgetopt.c
uname-values.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
uname.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
unistd.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Versions Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
vfork.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wait3.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wait4.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wait.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wait.h
waitid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
waitpid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wordexp-test.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wordexp-tst.sh Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wordexp.c Fix -Os gnu_dev_* linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-07 14:57:31 +00:00
wordexp.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00