John Baldwin 04f4a16448 If the file descriptors passed into do_dup() are negative, return EBADF
instead of panicing.  Also, perform some of the simpler sanity checks on
the fds before acquiring the filedesc lock.

Approved by:	re
Reported by:	Dan Nelson <dan@emsphone.com> and others
2002-11-26 17:22:15 +00:00
..
2002-11-16 23:48:14 +00:00
2002-11-24 19:50:15 +00:00
2002-10-18 21:41:41 +00:00
2002-11-24 20:15:08 +00:00
2002-11-22 22:55:51 +00:00
2002-11-08 23:37:50 +00:00
2002-11-20 15:21:06 +00:00
2002-11-17 02:57:06 +00:00