Date: Tue, 26 Nov 2002 09:22:15 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c Message-ID: <200211261722.gAQHMFXF088958@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2002/11/26 09:22:15 PST
Modified files:
sys/kern kern_descrip.c
Log:
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
Revision Changes Path
1.169 +4 -3 src/sys/kern/kern_descrip.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211261722.gAQHMFXF088958>
