Status of SA_NOCLDWAIT in POSIX.1 (was: SA_RESTART and friends as XSI extensions to POSIX.1-2001 < XOPEN_SOURCE >= 600)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric,

I received a bug report for the Linux man-pages' sigaction(2) HISTORY
section, regarding some constants being XSI extensions in POSIX.1-2001
while the manual page was silent about it (so the user didn't understand
why their feature test macros weren't being enough.

While trying to write correct HISTORY for those constants, I realized
about an inconsistency in POSIX.1-2008 (2017 revision), in
<https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html>.

The DESCRIPTION (normative) section of signal.h says SA_NOCLDWAIT is an
XSI extension:

        SA_NOCLDWAIT
	    [XSI] [Option Start] Causes implementations not to create
            zombie processes or status information on child termination.
            See sigaction.  [Option End]

But then, the CHANGE HISTORY (informative) section says about Issue 7:

	The SA_RESETHAND, SA_RESTART, SA_SIGINFO, SA_NOCLDWAIT, and
        SA_NODEFER constants are moved from the XSI option to the Base.

That seems like an accident, since 'SA_NOCLDWAIT' wasn't moved to base,
right?

Please forward this to the Austin group if you find it appropriate.


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux