about summary refs log tree commit diff
path: root/nptl/pthread_testcancel.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-08-20 11:23:08 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-09-15 11:14:25 -0300
commit91dd866ff1801b27e1db1e14a52eb89a213627e6 (patch)
tree05093e97e9c7ba82bc6ac393f27f96b27ecf6f93 /nptl/pthread_testcancel.c
parent980d25d53e748abd3365aeec0a1ccd1316b4e6d6 (diff)
downloadglibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.tar.gz
glibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.tar.xz
glibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.zip
nptl: Set sem_open as a non cancellation point (BZ #15765)
This patch changes sem_open to not act as a cancellation point.
Cancellation is disable at start and reenable in function exit.
It fixes BZ #15765.

Tested on x86_64 and i686.

	[BZ #15765]
	* nptl/Makefile (tests): Add tst-sem16.
	* nptl/tst-sem16.c: New file.
	* nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
Diffstat (limited to 'nptl/pthread_testcancel.c')
0 files changed, 0 insertions, 0 deletions