about summary refs log tree commit diff
path: root/rt/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-08-22 10:31:42 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-09-15 11:15:14 -0300
commitfbc994921b459d57b681a926780933a20745edf5 (patch)
tree5439819eecf6c01b3ca526168a69e73ee6c21785 /rt/Makefile
parent47677f2edc815e85d0383a89b09733e95e5d7302 (diff)
downloadglibc-fbc994921b459d57b681a926780933a20745edf5.tar.gz
glibc-fbc994921b459d57b681a926780933a20745edf5.tar.xz
glibc-fbc994921b459d57b681a926780933a20745edf5.zip
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.
Diffstat (limited to 'rt/Makefile')
-rw-r--r--rt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/Makefile b/rt/Makefile
index cfa68379c5..7593b11652 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -53,7 +53,7 @@ tests := tst-shm tst-clock tst-clock_nanosleep tst-timer tst-timer2 \
 	 tst-timer3 tst-timer4 tst-timer5 \
 	 tst-cpuclock1 tst-cpuclock2 \
 	 tst-cputimer1 tst-cputimer2 tst-cputimer3 \
-	 tst-clock2
+	 tst-clock2 tst-shm-cancel
 
 extra-libs := librt
 extra-libs-others := $(extra-libs)