Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 08:03:48 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern init_sysent.c kern_exit.c kern_ktrace.c kern_sig.c kern_synch.c syscalls.c tty.c tty_pty.c src/sys/sys ucontext.h ktrace.h param.h proc.h signal.h signalvar.h syscall-hide.h syscall.h syscall.mk sysent.h sysproto.h ...
Message-ID:  <199909291503.IAA57798@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      1999/09/29 08:03:48 PDT

  Modified files:
    sys/kern             init_sysent.c kern_exit.c kern_ktrace.c 
                         kern_sig.c kern_synch.c syscalls.c tty.c 
                         tty_pty.c 
    sys/sys              ktrace.h param.h proc.h signal.h 
                         signalvar.h syscall-hide.h syscall.h 
                         syscall.mk sysent.h sysproto.h 
    sys/coda             coda_psdev.c 
    sys/miscfs/procfs    procfs_ctl.c 
    sys/nfs              nfs.h nfs_socket.c 
    sys/ufs/mfs          mfs_vfsops.c 
  Added files:
    sys/sys              ucontext.h 
  Log:
  sigset_t change (part 2 of 5)
  -----------------------------
  
  The core of the signalling code has been rewritten to operate
  on the new sigset_t. No methodological changes have been made.
  Most references to a sigset_t object are through macros (see
  signalvar.h) to create a level of abstraction and to provide
  a basis for further improvements.
  
  The NSIG constant has not been changed to reflect the maximum
  number of signals possible. The reason is that it breaks
  programs (especially shells) which assume that all signals
  have a non-null name in sys_signame. See src/bin/sh/trap.c
  for an example. Instead _SIG_MAXSIG has been introduced to
  hold the maximum signal possible with the new sigset_t.
  
  struct sigprop has been moved from signalvar.h to kern_sig.c
  because a) it is only used there, and b) access must be done
  though function sigprop(). The latter because the table doesn't
  holds properties for all signals, but only for the first NSIG
  signals.
  
  signal.h has been reorganized to make reading easier and to
  add the new and/or modified structures. The "old" structures
  are moved to signalvar.h to prevent namespace polution.
  
  Especially the coda filesystem suffers from the change, because
  it contained lines like (p->p_sigmask == SIGIO), which is easy
  to do for integral types, but not for compound types.
  
  NOTE: kdump (and port linux_kdump) must be recompiled.
  
  Thanks to Garrett Wollman and Daniel Eischen for pressing the
  importance of changing sigreturn as well.
  
  Revision  Changes    Path
  1.72      +13 -6     src/sys/kern/init_sysent.c
  1.84      +2 -2      src/sys/kern/kern_exit.c
  1.32      +4 -4      src/sys/kern/kern_ktrace.c
  1.65      +555 -342  src/sys/kern/kern_sig.c
  1.79      +3 -3      src/sys/kern/kern_synch.c
  1.65      +13 -6     src/sys/kern/syscalls.c
  1.126     +16 -14    src/sys/kern/tty.c
  1.71      +4 -5      src/sys/kern/tty_pty.c
  1.18      +3 -3      src/sys/sys/ktrace.h
  1.55      +2 -2      src/sys/sys/param.h
  1.88      +3 -2      src/sys/sys/proc.h
  1.17      +118 -107  src/sys/sys/signal.h
  1.28      +151 -79   src/sys/sys/signalvar.h
  1.59      +11 -6     src/sys/sys/syscall-hide.h
  1.63      +12 -7     src/sys/sys/syscall.h
  1.17      +12 -7     src/sys/sys/syscall.mk
  1.24      +4 -2      src/sys/sys/sysent.h
  1.52      +42 -18    src/sys/sys/sysproto.h
  1.13      +50 -25    src/sys/coda/coda_psdev.c
  1.19      +2 -2      src/sys/miscfs/procfs/procfs_ctl.c
  1.50      +5 -3      src/sys/nfs/nfs.h
  1.55      +7 -4      src/sys/nfs/nfs_socket.c
  1.76      +7 -4      src/sys/ufs/mfs/mfs_vfsops.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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