]> git.ipfire.org Git - thirdparty/glibc.git/commit
S/390: Fix setcontext/swapcontext which are not restoring sigmask. [BZ #18080]
authorStefan Liebler <stli@linux.vnet.ibm.com>
Thu, 28 Apr 2016 08:12:05 +0000 (10:12 +0200)
committerStefan Liebler <stli@linux.vnet.ibm.com>
Thu, 28 Apr 2016 08:12:05 +0000 (10:12 +0200)
commitaa60d72514a2bc51017edeb0ccdd9904b8c2e745
tree51b413afa492c9e9d1435789ce4c3ffa2b1208e3
parenta02f3e795993ae0f80242b488061b74666605625
S/390: Fix setcontext/swapcontext which are not restoring sigmask. [BZ #18080]

This patch uses sigprocmask(SIG_SETMASK) instead of SIG_BLOCK
in setcontext, swapcontext.

(cherry picked from commit 2e807f29595eb5b1e5d0decc6e356a3562ecc58e)
ChangeLog
NEWS
stdlib/Makefile
stdlib/tst-setcontext2.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S