glibc/sysdeps
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
..
aarch64 Add femode_t functions: aarch64. 2016-09-07 16:41:20 +00:00
alpha Add femode_t functions: alpha. 2016-09-07 16:42:19 +00:00
arm Add femode_t functions: arm. 2016-09-07 16:43:03 +00:00
generic Build s_nan* objects from a generic template 2016-09-20 14:37:42 -05:00
gnu Define UDP_ENCAP_* from Linux 4.7 in netinet/udp.h. 2016-08-03 12:13:16 +00:00
hppa Add femode_t functions: hppa. 2016-09-07 16:43:43 +00:00
i386 Remove remnants of .og patterns 2016-09-20 12:18:13 +02:00
ia64 Remove the ptw-% patterns 2016-09-14 16:02:06 +02:00
ieee754 Build s_nan* objects from a generic template 2016-09-20 14:37:42 -05:00
init_array Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
m68k Add femode_t functions: m68k. 2016-09-07 16:45:21 +00:00
mach hurd: Fix adjtime call with OLDDELTA == NULL 2016-08-30 23:07:30 +02:00
microblaze Add femode_t functions. 2016-09-07 16:40:09 +00:00
mips Add femode_t functions: mips. 2016-09-07 16:46:02 +00:00
nacl Remove the ptw-% patterns 2016-09-14 16:02:06 +02:00
nios2 Add femode_t functions. 2016-09-07 16:40:09 +00:00
nptl Remove the ptw-% patterns 2016-09-14 16:02:06 +02:00
posix hurd: fix fcntl visibility 2016-09-18 23:48:55 +02:00
powerpc powerpc: Fix POWER9 implies 2016-09-19 09:35:38 -03:00
pthread Revert "aio: fix newp->running data race" 2016-05-04 15:52:30 +02:00
s390 Remove the ptw-% patterns 2016-09-14 16:02:06 +02:00
sh Add femode_t functions: sh. 2016-09-07 16:48:08 +00:00
sparc Remove remnants of .og patterns 2016-09-20 12:18:13 +02:00
tile Add femode_t functions. 2016-09-07 16:40:09 +00:00
unix posix: Correctly enable/disable cancellation on Linux posix_spawn 2016-09-20 17:18:15 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
x86 Add femode_t functions. 2016-09-07 16:40:09 +00:00
x86_64 Add femode_t functions. 2016-09-07 16:40:09 +00:00