Subject: Re: CVS commit: basesrc/lib/libc/sys
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-kern
Date: 01/04/2002 13:04:14
--7iMSBzlTiPOCCT2k
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 03, 2002 at 02:57:49PM -0800, Jason R Thorpe wrote:
> On Fri, Jan 04, 2002 at 12:18:10AM +0200, Jaromir Dolecek wrote:
>=20
>  > Modified Files:
>  > 	basesrc/lib/libc/sys: poll.2
>  >=20
>  > Log Message:
>  > Add a note that POLLIN event is returned rather than POLLHUP when
>  > remote end of a socket is closed.
>  > Adresses kern/5486 by Ignatios Souvatzis.
>=20
> Err, is this really correct?  What does Solaris do in this situation?

I need to reconstruct the test program to test...

SunOS and Solaris poll(2) both claim that POLLHUP is only returned in the
revents member, but not used in the events member.

Regards,
	-is

--7iMSBzlTiPOCCT2k
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBPDWaOjCn4om+4LhpAQFeUwgAk2KtBTOh7mdXvkXFhgQyBdS+3GwQ1CIs
+My+9yniYPW4w2Th1kBC0UppiLbKRWXhI+e4MvLMDxXjIp/yzGmRZ1R9XMqR9GWD
pC0qJA6Cs4JsMLn5cMUAyJEy2zdguJW8BSOSOW8uWguXora6d0xp4+XmZPjT08rn
YQBEj79X8mbumMe/rTMXT81+Obmj7Xq044yjvUgDqn/2molWVn7z/XIx1E2Ggm0k
sFVbsHz0XE48MCQy7h5/yui1gDhkGevhTPRYlOEKt+a+EpHg8fTqlJemW2ngpXHF
0LYp3c+vg9oK8LCfEuDhpg32FduaAFC703XrObzq2cIps4LojTA7OA==
=TdBI
-----END PGP SIGNATURE-----

--7iMSBzlTiPOCCT2k--