cvs commit: src/sys/alpha/osf1 osf1_misc.c src/sys/compat/freebsd32 freebsd32_misc.c src/sys/compat/linux linux_misc.c src/sys/compat/svr4 svr4_misc.c src/sys/i386/ibcs2 ibcs2_misc.c src/sys/kern kern_exit.c src/sys/sys wait.h

John Baldwin jhb at FreeBSD.org
Wed Mar 17 12:00:01 PST 2004


jhb         2004/03/17 12:00:00 PST

  FreeBSD src repository

  Modified files:
    sys/alpha/osf1       osf1_misc.c 
    sys/compat/freebsd32 freebsd32_misc.c 
    sys/compat/linux     linux_misc.c 
    sys/compat/svr4      svr4_misc.c 
    sys/i386/ibcs2       ibcs2_misc.c 
    sys/kern             kern_exit.c 
    sys/sys              wait.h 
  Log:
  - Replace wait1() with a kern_wait() function that accepts the pid,
    options, status pointer and rusage pointer as arguments.  It is up to
    the caller to copyout the status and rusage to userland if needed.  This
    lets us axe the 'compat' argument and hide all that functionality in
    owait(), by the way.  This also cleans up some locking in kern_wait()
    since it no longer has to drop locks around copyout() since all the
    copyout()'s are deferred.
  - Convert owait(), wait4(), and the various ABI compat wait() syscalls to
    use kern_wait() rather than wait1() or wait4().  This removes a bit
    more stackgap usage.
  
  Tested on:      i386
  Compiled on:    i386, alpha, amd64
  
  Revision  Changes    Path
  1.46      +12 -15    src/sys/alpha/osf1/osf1_misc.c
  1.20      +9 -13     src/sys/compat/freebsd32/freebsd32_misc.c
  1.153     +15 -32    src/sys/compat/linux/linux_misc.c
  1.71      +7 -25     src/sys/compat/svr4/svr4_misc.c
  1.54      +15 -23    src/sys/i386/ibcs2/ibcs2_misc.c
  1.227     +41 -80    src/sys/kern/kern_exit.c
  1.18      +5 -1      src/sys/sys/wait.h


More information about the cvs-src mailing list