diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-08-22 10:31:42 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-09-15 11:15:14 -0300 |
commit | fbc994921b459d57b681a926780933a20745edf5 (patch) | |
tree | 5439819eecf6c01b3ca526168a69e73ee6c21785 /ChangeLog | |
parent | 47677f2edc815e85d0383a89b09733e95e5d7302 (diff) |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,11 @@ 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org> [BZ #18243] + * rt/Makefile (test): Add tst-shm-cancel. + * rt/tst-shm-cancel.c: New file. + * sysdeps/posix/shm_open.c: Disable asynchronous cancellation. + + [BZ #18243] * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto. * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais definition. |