From owner-cvs-lib Tue Mar 25 09:28:32 1997 Return-Path: <owner-cvs-lib> Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA24941 for cvs-lib-outgoing; Tue, 25 Mar 1997 09:28:32 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA24907; Tue, 25 Mar 1997 09:28:04 -0800 (PST) From: Mike Pritchard <mpp> Message-Id: <199703251728.JAA24907@freefall.freebsd.org> Subject: Re: cvs commit: src/lib/libc/sys sigaction.2 To: bde@zeta.org.au (Bruce Evans) Date: Tue, 25 Mar 1997 09:28:03 -0800 (PST) Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org In-Reply-To: <199703250429.PAA11232@godzilla.zeta.org.au> from "Bruce Evans" at Mar 25, 97 03:29:00 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > > Modified: lib/libc/sys sigaction.2 > > Log: > > Change the description of how attempts to block SIGKILL and SIGSTOP > > are handled. The system call will actually fail in this case - the > > system doesn't silently ignore the request. Closes PR# 3047 > > > > Pointed out by: fenner > > Actually, sigaction silently ignores attempts to set the SIGKILL and > SIGSTOP bits in the signal mask. This behaviour is fully specified > by POSIX. > It only fails (in connection with SIGKILL and SIGSTOP) for attempts > to set the sigaction handler for SIGKILL or SIGSTOP to anything other > than SIG_DFL. (At least in 2.2 and -current. 2.1.x non-POSIXly rejects > attempts to even read the sigaction for SIGKILL or SIGSTOP.) Where does it do anything "silently" except for the case of SIG_DFL? -- Mike Pritchard mpp@FreeBSD.org "Go that way. Really fast. If something gets in your way, turn"