This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/748] New: SA_RESTART flag in sigaction is broken
- From: "sebastien dot decugis at ext dot bull dot net" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Feb 2005 14:58:52 -0000
- Subject: [Bug libc/748] New: SA_RESTART flag in sigaction is broken
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
When the SA_RESTART flag is set when installing a signal-catching function with
sigaction(), the signal should not cause an interruptible function to return
with error EINTR but instead the function should restart silently.
The attached test case shows that this behavior is broken on glibc 2.3.4 -- the
sem_wait function, when interrupted, returns with error EINTR.
--
Summary: SA_RESTART flag in sigaction is broken
Product: glibc
Version: 2.3.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: sebastien dot decugis at ext dot bull dot net
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=748
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.