Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2005 19:34:11 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/svr4 svr4_signal.c svr4_signal.h svr4_sysvec.c
Message-ID:  <200502251934.j1PJYBQf002457@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sam         2005-02-25 19:34:11 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/svr4      svr4_signal.c svr4_signal.h svr4_sysvec.c 
  Log:
  fixup signal mapping:
  o change the mapping arrays to have a zero offset rather than base 1;
    this eliminates lots of signo adjustments and brings the code
    back inline with the original netbsd code
  o purge use of SVR4_SIGTBLZ; SVR4_NSIG is the only definition for
    how big a mapping array is
  o change the mapping loops to explicitly ignore signal 0
  o purge some bogus code from bsd_to_svr4_sigset
  o adjust svr4_sysentvec to deal with the mapping table change
  
  Enticed into fixing by: Coverity Prevent analysis tool
  Glanced at by:  marcel, jhb
  
  Revision  Changes    Path
  1.33      +9 -11     src/sys/compat/svr4/svr4_signal.c
  1.11      +4 -5      src/sys/compat/svr4/svr4_signal.h
  1.41      +2 -2      src/sys/compat/svr4/svr4_sysvec.c



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