Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 09:28:03 -0800 (PST)
From:      Mike Pritchard <mpp>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org
Subject:   Re: cvs commit:  src/lib/libc/sys sigaction.2
Message-ID:  <199703251728.JAA24907@freefall.freebsd.org>
In-Reply-To: <199703250429.PAA11232@godzilla.zeta.org.au> from "Bruce Evans" at Mar 25, 97 03:29:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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"



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