Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 15:29:00 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, mpp@freefall.freebsd.org
Subject:   Re: cvs commit:  src/lib/libc/sys sigaction.2
Message-ID:  <199703250429.PAA11232@godzilla.zeta.org.au>

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

Bruce



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