Date: Sat, 9 May 2009 12:06:09 +0400 From: Chagin Dmitry <dchagin@freebsd.org> To: Thomas Mueller <tmueller@sysgo.com> Cc: freebsd-emulation@freebsd.org Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts Message-ID: <20090509080609.GA4415@dchagin.static.corbina.ru> In-Reply-To: <200905090700.n49704gb019256@freefall.freebsd.org> References: <200905090700.n49704gb019256@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 09, 2009 at 07:00:04AM +0000, Thomas Mueller wrote: > The following reply was made to PR kern/134276; it has been noted by GNAT= S. >=20 > From: Thomas Mueller <tmueller@sysgo.com> > To: Chagin Dmitry <dchagin@freebsd.org> > Cc: freebsd-gnats-submit@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 08:30:53 +0200 >=20 > > > I've encountered two socket related problems with the Linux emulatio= n: > > >=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() us= ing the=20 > > > SO_RECVTIMEO or SO_SNDTIMEO option will fail with [EINVAL] on amd= 64. > > >=20 > >=20 > > What the Linux application you have mentioned? > > I should know it to test patches. Thank you. > =20 > Sorry for not mentioning it in the PR. The applications are part of the > LM-X License Manager package by X-Formation (http://www.x-formation.com/= ). > It looks like they offer a trial download but require registration. > =20 > When back in the office (next weeek), I could revert my local changes > and provide you with an output of linux_kdump if that helps. I would > also test patches. > =20 > =20 Thank you, Please, apply this two patches. http://people.freebsd.org/~dchagin/patches/commit-4952ce8.patch http://people.freebsd.org/~dchagin/patches/commit-6355ebf.patch --=20 Have fun! chd --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkoFOW4ACgkQ0t2Tb3OO/O1rGQCeNlj9RQrrl1e8Cp4i/WQRzzzY 8pwAn3pQ5EhToyBiMB1vmwYDYKP/YEN0 =inBe -----END PGP SIGNATURE----- --DocE+STaALJfprDB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090509080609.GA4415>