kern/155606: [libc] select() does not return EBADF on closed file descriptor

Florian Smeets flo at FreeBSD.org
Fri Oct 7 21:30:14 UTC 2011


The following reply was made to PR kern/155606; it has been noted by GNATS.

From: Florian Smeets <flo at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: kern/155606: [libc] select() does not return EBADF on closed
 file descriptor
Date: Fri, 07 Oct 2011 23:27:23 +0200

 This is reproducible with nspr's regression testsuite. The test is 
 called selct_er. Just go to devel/nspr and run make && make test, the 
 selct_er test will hang indefinitely.
 
 cognet found out the commit causing this behavior is supposedly:
 
 http://svnweb.freebsd.org/base/head/sys/kern/sys_generic.c?r1=195259&r2=195258&pathrev=195259


More information about the freebsd-bugs mailing list