git: kernel - adjust falloc and arguments to dupfdopen, fsetfd, fdcheckstd

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Dec 15 12:36:44 PST 2009


commit f3a2d8c4c82787ba09afc9a3e5e15049b5a33679
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Dec 15 12:31:02 2009 -0800

    kernel - adjust falloc and arguments to dupfdopen, fsetfd, fdcheckstd
    
    * Make changes to the pointer type passed (proc, lwp, filedesc) to
      numerous routines.
    
    * falloc() needs access to td_ucred (it was previously using p_ucred which
      is not MPSAFE).
    
    * Adjust fsetfd() to make it conform to the other fsetfd*() procedures.
    
    * Related changes to fdcheckstd() and dupfdopen().

Summary of changes:
 sys/kern/kern_checkpoint.c |   22 +++++++++++---------
 sys/kern/kern_descrip.c    |   45 ++++++++++++++++++++-----------------------
 sys/kern/kern_event.c      |    9 +++----
 sys/kern/kern_exec.c       |    2 +-
 sys/kern/kern_syslink.c    |   26 +++++++++++++-----------
 sys/kern/sys_mqueue.c      |    9 ++++---
 sys/kern/sys_pipe.c        |   14 +++++-------
 sys/kern/uipc_syscalls.c   |   44 +++++++++++++++++++++---------------------
 sys/kern/uipc_usrreq.c     |   24 ++++++++++++----------
 sys/kern/vfs_syscalls.c    |   20 +++++++++---------
 sys/opencrypto/cryptodev.c |    7 +++--
 sys/sys/filedesc.h         |    9 ++++---
 12 files changed, 117 insertions(+), 114 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f3a2d8c4c82787ba09afc9a3e5e15049b5a33679


-- 
DragonFly BSD source repository





More information about the Commits mailing list