Rename do_dup() to kern_dup() and pull in some changes from FreeBSD-CURRENT.
authorDavid P. Reese, Jr. <daver@dragonflybsd.org>
Wed, 15 Oct 2003 06:38:46 +0000 (06:38 +0000)
committerDavid P. Reese, Jr. <daver@dragonflybsd.org>
Wed, 15 Oct 2003 06:38:46 +0000 (06:38 +0000)
commitdda4b42bde949546240049caa910a0441cfdb981
tree22467f8a1ec9722d87a92d6a272108480168f3e1
parent58fd6e8d84c16dfbda63e51061b227bdf8f5551d
Rename do_dup() to kern_dup() and pull in some changes from FreeBSD-CURRENT.
Implement dup(), dup2() and fcntl(F_DUPFD) with kern_dup().

Split fcntl() into fcntl() and kern_fcntl().

Implement linux_fcntl() using kern_fcntl() and replace a call to fcntl()
in linux_accept() with a call to kern_fcntl().
sys/emulation/linux/linux_file.c
sys/emulation/linux/linux_socket.c
sys/kern/kern_descrip.c
sys/sys/fcntl.h
sys/sys/kern_syscall.h