From owner-freebsd-bugs Tue Mar 25 15:30:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA20521 for bugs-outgoing; Tue, 25 Mar 1997 15:30:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA20513; Tue, 25 Mar 1997 15:30:02 -0800 (PST) Date: Tue, 25 Mar 1997 15:30:02 -0800 (PST) Message-Id: <199703252330.PAA20513@freefall.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: docs/3047 & cvs commit: src/lib/libc/sys sigaction.2 Reply-To: Bruce Evans Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR docs/3047; it has been noted by GNATS. From: Bruce Evans 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 Date: Wed, 26 Mar 1997 10:27:23 +1100 >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