glibc/sysdeps/unix
Adhemerval Zanella 706e6749de posix: Correctly enable/disable cancellation on Linux posix_spawn
This patch correctly enable and disable asynchronous cancellation on
Linux posix_spawn.  Current code invert the logic by enabling and
disabling instead.  It also adds a new test to check if posix_spawn
is not a cancellation entrypoint.

Checked on x86_64, i686, powerpc64le, and aarch64.

	* nptl/Makefile (tests): Add tst-exec5.
	* nptl/tst-exec5.c: New file.
	* sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
	asynchronous cancellation.
2016-09-20 17:18:15 -03:00
..
alpha Do not override objects in libc.a in other static libraries [BZ #20452] 2016-08-17 14:57:01 +02:00
arm Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
bsd Make padding in struct sockaddr_storage explicit [BZ #20111] 2016-05-23 19:43:09 +02:00
i386 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
inet Move nss directory into sysdeps Subdirs. 2013-02-05 14:32:48 -08:00
mips Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
powerpc Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sh Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sysv/linux posix: Correctly enable/disable cancellation on Linux posix_spawn 2016-09-20 17:18:15 -03:00
x86_64 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Implies
Makefile Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
clock_gettime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
clock_settime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
confstr.h
get_child_max.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getlogin.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getlogin_r.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
grantpt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ifreq.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
make-syscalls.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
s-proto-cancel.S
s-proto.S
setxid.h
sockatmark.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
syscall-template.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
syscalls.list Fix nice getpriority, setpriority namespace (bug 18553). 2015-06-17 20:22:39 +00:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00