diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-08-20 11:23:08 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-09-15 11:14:25 -0300 |
commit | 91dd866ff1801b27e1db1e14a52eb89a213627e6 (patch) | |
tree | 05093e97e9c7ba82bc6ac393f27f96b27ecf6f93 /nptl/Makefile | |
parent | 980d25d53e748abd3365aeec0a1ccd1316b4e6d6 (diff) | |
download | glibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.zip glibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.tar.gz glibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.tar.bz2 |
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/Makefile')
-rw-r--r-- | nptl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index e8de1bc..e9485df 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -246,7 +246,7 @@ tests = tst-typesizes \ tst-key1 tst-key2 tst-key3 tst-key4 \ tst-sem1 tst-sem2 tst-sem3 tst-sem4 tst-sem5 tst-sem6 tst-sem7 \ tst-sem8 tst-sem9 tst-sem10 tst-sem11 tst-sem12 tst-sem13 tst-sem14 \ - tst-sem15 \ + tst-sem15 tst-sem16 \ tst-barrier1 tst-barrier2 tst-barrier3 tst-barrier4 tst-barrier5 \ tst-align tst-align3 \ tst-basic1 tst-basic2 tst-basic3 tst-basic4 tst-basic5 tst-basic6 \ |