This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/748] New: SA_RESTART flag in sigaction is broken


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]