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
..
2016-09-07 16:41:20 +00:00
2016-09-07 16:42:19 +00:00
2016-09-07 16:43:03 +00:00
2016-09-07 16:43:43 +00:00
2016-09-20 12:18:13 +02:00
2016-09-14 16:02:06 +02:00
2016-09-07 16:45:21 +00:00
2016-09-07 16:40:09 +00:00
2016-09-07 16:46:02 +00:00
2016-09-14 16:02:06 +02:00
2016-09-07 16:40:09 +00:00
2016-09-14 16:02:06 +02:00
2016-09-18 23:48:55 +02:00
2016-09-19 09:35:38 -03:00
2016-09-14 16:02:06 +02:00
2016-09-07 16:48:08 +00:00
2016-09-20 12:18:13 +02:00
2016-09-07 16:40:09 +00:00
2016-09-07 16:40:09 +00:00
2016-09-07 16:40:09 +00:00