Date: Wed, 3 Jun 2009 17:30:51 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Vlad Galu <dudu@dudu.ro> Cc: freebsd-stable@freebsd.org, Oliver Fromme <olli@freebsd.org> Subject: Re: poll()-ing a pipe descriptor, watching for POLLHUP Message-ID: <20090603143051.GM1927@deviant.kiev.zoral.com.ua> In-Reply-To: <ad79ad6b0906030610y7e3beb05w5a3a39eaf7ebe2be@mail.gmail.com> References: <ad79ad6b0906030515k2e41f4b9t25f752af8ef3866c@mail.gmail.com> <20090603123208.GK1927@deviant.kiev.zoral.com.ua> <ad79ad6b0906030535o4b1a959ev6bc2b34af4e7304e@mail.gmail.com> <ad79ad6b0906030610y7e3beb05w5a3a39eaf7ebe2be@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--jxLVDeTGe4tAzjlH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 03, 2009 at 04:10:34PM +0300, Vlad Galu wrote: > Hm, I was having an issue with an internal piece of software, but > never checked what kind of pipe caused the problem. Turns out it was a > FIFO, and I got bitten by the same bug described here: > http://lists.freebsd.org/pipermail/freebsd-bugs/2006-March/017591.html >=20 > The problem is that the reader process isn't notified when the writer > process exits or closes the FIFO fd... So you did found the relevant PR with long audit trail and patches attached. You obviously should contact the author of the patches, Oliver Fromme, who is FreeBSD committer for some time (CCed). I agree that the thing shall be fixed finally. Skimming over the patches in kern/94772, I have some doubts about removal of POLLINIGNEOF flag. The reason is that we are generally do not remove exposed user interfaces. --jxLVDeTGe4tAzjlH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkomiRsACgkQC3+MBN1Mb4i5QwCg38abRFz3z8NlU8plofI6HPSW 5rkAn2bBljcyVHzNbj8VBTZzKZsN0Z0s =6P8O -----END PGP SIGNATURE----- --jxLVDeTGe4tAzjlH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090603143051.GM1927>