glibc/rt
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
..
bits Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_cancel.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_error.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_fsync.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_misc.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_notify.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_read64.c
aio_read.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_return.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_sigqueue.c Fix hurd build 2016-03-16 13:57:57 +01:00
aio_suspend.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio_write64.c
aio_write.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
aio.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
clock_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
clock_getres.c 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
clock-compat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Depend Don't mention linuxthreads in Depend files. 2014-05-21 16:53:11 +00:00
get_clockfreq.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
lio_listio64.c
lio_listio.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Makefile rt: Set shm_open as a non cancellation point (BZ #18243) 2016-09-15 11:15:14 -03:00
mq_close.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_getattr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_notify.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_open.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_receive.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_send.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_setattr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_timedreceive.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_timedsend.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mq_unlink.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
shm_open.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
shm_unlink.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-aio2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-aio3.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-aio4.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-aio5.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-aio6.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-aio7.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-aio8.c
tst-aio9.c
tst-aio10.c
tst-aio64.c Fix rt/tst-aio64.c as well, and mention login/tst-utmp.c in ChangeLog 2016-06-11 14:59:27 -07:00
tst-aio.c 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com> 2016-06-11 14:50:16 -07:00
tst-clock2.c
tst-clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-clock.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-cpuclock1.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-cpuclock2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-cputimer1.c
tst-cputimer2.c
tst-cputimer3.c
tst-mqueue1.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mqueue2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mqueue3.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mqueue4.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mqueue5.c Fix race in tst-mqueue5 2016-01-15 16:53:08 -02:00
tst-mqueue6.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mqueue7.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mqueue8.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mqueue9.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-mqueue.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-shm-cancel.c rt: Set shm_open as a non cancellation point (BZ #18243) 2016-09-15 11:15:14 -03:00
tst-shm.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-timer2.c Don't set unused field in rt/tst-timer2. 2015-02-06 12:30:38 -08:00
tst-timer3.c
tst-timer4.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-timer5.c
tst-timer.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Versions