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-03-25 13:52:45 +00:00
2002-10-29 20:51:44 +00:00
2002-10-11 10:36:22 +00:00
2002-09-05 11:42:03 +00:00
2002-06-29 02:00:02 +00:00
2002-03-19 21:25:46 +00:00
2002-11-07 22:38:04 +00:00
2002-03-19 21:25:46 +00:00
2002-10-01 13:15:11 +00:00
2002-10-02 09:09:25 +00:00
2002-09-11 08:13:56 +00:00
2002-08-15 02:10:12 +00:00
2002-03-19 21:25:46 +00:00