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

看板DFBSD_commit作者時間16年前 (2009/12/16 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit f3a2d8c4c82787ba09afc9a3e5e15049b5a33679 Author: Matthew Dillon <dillon@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
文章代碼(AID): #1B9_aJOb (DFBSD_commit)