kern/134276: [linux][patch] MSG_NOSIGNAL not translated for
recv(), socket timeout incorrect for 64-bit hosts
Chagin Dmitry
dchagin at freebsd.org
Fri May 8 20:20:03 UTC 2009
The following reply was made to PR kern/134276; it has been noted by GNATS.
From: Chagin Dmitry <dchagin at freebsd.org>
To: Thomas Mueller <tmueller at sysgo.com>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for
recv(), socket timeout incorrect for 64-bit hosts
Date: Sat, 9 May 2009 00:10:03 +0400
--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, May 06, 2009 at 04:57:50PM +0000, Thomas Mueller wrote:
>=20
> >Number: 134276
> >Category: kern
> >Synopsis: [linux][patch] MSG_NOSIGNAL not translated for recv(), s=
ocket timeout incorrect for 64-bit hosts
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: freebsd-bugs
> >State: open
> >Quarter: =20
> >Keywords: =20
> >Date-Required:
> >Class: sw-bug
> >Submitter-Id: current-users
> >Arrival-Date: Wed May 06 17:00:07 UTC 2009
> >Closed-Date:
> >Last-Modified:
> >Originator: Thomas Mueller
> >Release: 7.2-STABLE
> >Organization:
> >Environment:
> FreeBSD tom.ulm.sysgo.com 7.2-STABLE FreeBSD 7.2-STABLE #16: Mon May 4 1=
5:12:43 CEST 2009 toor at tom.ulm.sysgo.com:/usr/obj/usr/src/sys/TOM amd64
> >Description:
> I've encountered two socket related problems with the Linux emulation:
>=20
> 1. A Linux application passing the MSG_NOSIGNAL flag in calls to=20
> recv() or recvfrom() will still receive a SIGPIPE if the condition
> for sending the signal is met.
>=20
> 2. An attempt to set socket timeouts with a call to setsocktopt() using t=
he=20
> SO_RECVTIMEO or SO_SNDTIMEO option will fail with [EINVAL] on amd64.
>=20
What the Linux application you have mentioned?
I should know it to test patches. Thank you.
--=20
Have fun!
chd
--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)
iEYEARECAAYFAkoEkZoACgkQ0t2Tb3OO/O05SwCfaVw+4LflVkXIDk9CIM4I32Fh
7bMAnRg/VWcAMRQGEnTD9L+W6RuJkf4Q
=md+G
-----END PGP SIGNATURE-----
--dDRMvlgZJXvWKvBx--
More information about the freebsd-emulation
mailing list