DragonFly BSD
DragonFly commits List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Oct 2003 10:51:46 -0700 (PDT)

:-On [20031013 20:22], Matthew Dillon (dillon@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.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]