S/390: Fix setcontext/swapcontext which are not restoring sigmask.
authorStefan Liebler <stli@linux.vnet.ibm.com>
Thu, 28 Apr 2016 08:25:49 +0000 (10:25 +0200)
committerDongkyun, Son <dongkyun.s@samsung.com>
Sun, 22 May 2016 13:27:00 +0000 (22:27 +0900)
commit599ae053ded852407169d849e21f14cae5ca092e
treef33fb9b20489ff17887b838ec81a8d54d0d1bd7e
parentd86a3ff98fa7204e8b2be0a84f4c67e95c0292aa
S/390: Fix setcontext/swapcontext which are not restoring sigmask.

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