cvs commit: src/sys/kern kern_sig.c src/sys/sys signal.h signalvar.h

Matthew Dillon dillon at apollo.backplane.com
Tue Oct 21 10:52:47 PDT 2003


:-On [20031013 20:22], Matthew Dillon (dillon at xxxxxxxxxxxxxxxxxxxxxxx) wrote:
:>  Log:
:>  Extend NSIG to 64 and introduce a registration function for the checkpointing
:>  signal to support the checkpoint module.  This is somewhat of a hack at the
:>  moment but will be cleaned up later.
:
:On the IRC channel I observed some talk about how this broke binary
:compatibility.  Did we verify this?
:
:-- 
:Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono

    This broke /bin/sh which was using the sys_siglist API but sizing the 
    array based on NSIG instead of sys_nsig, and assuming that the entries
    would not be NULL in a few places.  Otherwise, though, it should not
    generally break binaries because the signal mask structures in
    sys/signal.h are based on _SIG_MAXSIG rather then NSIG.  _SIG_MAXSIG is
    and has been 128.

						-Matt






More information about the Commits mailing list