Date: Sun, 22 Mar 2009 23:00:00 +0000 (UTC) From: Mike Silbersack <silby@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern uipc_usrreq.c Message-ID: <200903222300.n2MN0Mn6037758@repoman.freebsd.org>
index | next in thread | raw e-mail
silby 2009-03-22 23:00:00 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern uipc_usrreq.c
Log:
SVN rev 190299 on 2009-03-22 23:00:00Z by silby
Fix unp_gc so that it recognizes file descriptors
that are currently in the process of being passed
between processes as alive and does not
try to garbage collect them.
The full description of the problem and a test
program to reproduce it can be found in PR 112554.
This fix was inspired by similar fixes in NetBSD and BSD/OS.
However, it does not apply to FreeBSD 8 and above -
when this code was rewritten and optimized, the bug
was fixed in a different way. The test program in the
PR passes on 8-current with flying colors.
PR: 112554
Submitted by: Spencer Minear
Reviewed by: Mike Silbersack
Obtained from: Secure Computing Corp
MFC after: 4 weeks
Revision Changes Path
1.206.2.10 +15 -0 src/sys/kern/uipc_usrreq.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903222300.n2MN0Mn6037758>
