This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18080] New: [s390] setcontext/swapcontext does not restore signal mask
- From: "stli at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 04 Mar 2015 11:14:51 +0000
- Subject: [Bug libc/18080] New: [s390] setcontext/swapcontext does not restore signal mask
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18080
Bug ID: 18080
Summary: [s390] setcontext/swapcontext does not restore signal
mask
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: stli at linux dot vnet.ibm.com
CC: drepper.fsp at gmail dot com
On s390/s390x, a call to setcontext or swapcontext does not restore the signal
mask.
This can be reproduced with the following pseudocode:
-getcontext()
-block signal with sigprocmask
-setcontext()
-signal shouldnÂt be blocked anymore.
The corresponding sigprocmask calls in files:
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
are using SIG_BLOCK instead of SIG_SETMASK.
--
You are receiving this mail because:
You are on the CC list for the bug.