Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 10:27:23 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        fenner@parc.xerox.com, mpp@freefall.freebsd.org
Cc:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, freebsd-gnats-submit@freebsd.org
Subject:   Re: docs/3047 & cvs commit: src/lib/libc/sys sigaction.2
Message-ID:  <199703252327.KAA16383@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>silently blocks SIGKILL [and] SIGSTOP".  The real meaning (and an
>alternative reading of the same sentence) is "the system silently
>ignores attempts to block SIGKILL or SIGSTOP"; I just wanted to make
>that sentence less ambiguous.

Actually, it means "the system silently ignores attempts to set the
SIGKILL and SIGSTOP bits in [the kernel's copy of] the signal mask.
[This is different from setting the bits and ignoring them when a
SIGKILL or SIGSTOP arrives, since the application can tell the difference
by reading the kernel's copy of the signal mask.  The copy of the mask
for the first sigaction call is of course unaffected, since it is const.]

>(While writing my test program to make absolutely sure, I noticed that the
>first line should probably read "The mask specified in the sa_mask field"
>or something similar, too...)

Yes.  POSIX says this better.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703252327.KAA16383>