From owner-freebsd-emulation@FreeBSD.ORG Sat May 9 08:06:13 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A5711065687 for ; Sat, 9 May 2009 08:06:13 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 087938FC1B for ; Sat, 9 May 2009 08:06:12 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id BECC29A49E; Sat, 9 May 2009 12:06:10 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1779253248; Sat, 09 May 2009 12:06:10 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n4986AVa004487; Sat, 9 May 2009 12:06:10 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n49869Yl004486; Sat, 9 May 2009 12:06:09 +0400 (MSD) (envelope-from dchagin) Date: Sat, 9 May 2009 12:06:09 +0400 From: Chagin Dmitry To: Thomas Mueller Message-ID: <20090509080609.GA4415@dchagin.static.corbina.ru> References: <200905090700.n49704gb019256@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <200905090700.n49704gb019256@freefall.freebsd.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: kern/134276: [linux][patch] MSG_NOSIGNAL not translated for recv(), socket timeout incorrect for 64-bit hosts X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2009 08:06:13 -0000 --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 > To: Chagin Dmitry > 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--