glibc/sysdeps
Adhemerval Zanella fbc994921b rt: Set shm_open as a non cancellation point (BZ #18243)
This patch changes shm_open to not act as a cancellation point.
Cancellation is disable at start and reenable in function exit.
It fixes BZ #18243.

Tested on x86_64 and i686.

	[BZ #18243]
	* rt/Makefile (test): Add tst-shm-cancel.
	* rt/tst-shm-cancel.c: New file.
	* sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2016-09-15 11:15:14 -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 Remove unneeded stubs for k_rem_pio2l. 2016-09-01 09:31:06 -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 Add femode_t functions. 2016-09-07 16:40:09 +00:00
ia64 Remove the ptw-% patterns 2016-09-14 16:02:06 +02:00
ieee754 ldbl-128: Use L(x) macro for long double constants 2016-09-13 15:33:59 -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 rt: Set shm_open as a non cancellation point (BZ #18243) 2016-09-15 11:15:14 -03:00
powerpc Add e500 version of fetestexceptflag. 2016-09-07 17:47:11 +00: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 nptl: Remove sparc sem_wait 2016-09-15 11:14:30 -03:00
tile Add femode_t functions. 2016-09-07 16:40:09 +00:00
unix Remove the ptw-% patterns 2016-09-14 16:02:06 +02: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