Email List: Xaustin-review-lX
[All Lists]

Defect in XSHd7 sigaction

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSHd7 sigaction
From: yyyyy@xxxxxxxxxx
Date: Tue, 30 Apr 2002 08:58:50 +0100 (BST)
        Defect report from : Alexey Neyman , Private

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 1840 line 41926 section sigaction comment {N/A}

Problem:

Defect code :  3. Clarification required

The standard says:

[ENOTSUP]
The SA_SIGINFO flag is set in the sa_flags field of the sigaction 
structure, and the implementation does not support either the Realtime Signals 
Extension option, or the X/Open System Interfaces Extension option.

It is not clear if the same errno value should be expected if the 
implementation does not support realtime behavior for certain signals
(e.g. if the returning of additional information is provided only for realtime 
signals SIGRTMIN..SIGRTMAX).

The relevant quote permitting the implementation to behave in such way is 
XBDd7, pages 301-302 (signal.h), lines 10750-10757:

This header shall also declare macros SIGRTMIN and SIGRTMAX, ...
...
It is implementation-defined whether realtime signal behavior is supported for 
other signals.

Thank you for clarification.
Regards,
Alexey.

Action:

Ideally, such situation should be described as a reason for ENOTSUP/other errno 
values in the sigaction's description.

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSHd7 sigaction, alevn <=