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/746] sigaction SA_RESETHAND flag does not set SA_NODEFER


------- Additional Comments From sebastien dot decugis at ext dot bull dot net  2005-02-16 10:02 -------
Created an attachment (id=409)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=409&action=view)
Testcase for the bug 746

Usage:
    ./bug_sigaction X
Where X is:
 O  to have the SA_NODEFER flag set explicitely
 1  to have only SA_RESETHAND
According to POSIX, the behavior should be the same.

I get:
$ ./bug_sigaction 0
Both SA_NODEFER and SA_RESETHAND are set.
Test PASSED

$ ./bug_sigaction 1
Only SA_RESETHAND is set -- SA_NODEFER is implicit.
Test bug_sigaction.c FAILED: Signal was masked when SA_NODEFER was implicitely
set


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=746

------- 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]