Received: from eggs.gnu.org ([208.118.235.92]:55385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVomN-0004rX-VQ for qemu-devel@nongnu.org; Tue, 06 Nov 2012 14:25:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVomM-0007OC-Qs for qemu-devel@nongnu.org; Tue, 06 Nov 2012 14:25:43 -0500 Received: from indium.canonical.com ([91.189.90.7]:54153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVomM-0007O4-L2 for qemu-devel@nongnu.org; Tue, 06 Nov 2012 14:25:42 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TVomM-0002m8-3G for ; Tue, 06 Nov 2012 19:25:42 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 10F682E8030 for ; Tue, 6 Nov 2012 19:25:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 06 Nov 2012 19:20:32 -0000 From: Bugdal <1075339@bugs.launchpad.net> Sender: bounces@canonical.com References: <20121105220950.30141.69845.malonedeb@gac.canonical.com> <20121106094343.6372.42298.malone@chaenomeles.canonical.com> Message-Id: <20121106192032.GT20323@brightrain.aerifal.cx> Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 1075339] Re: linux-user emulation of setsockopt ignores optlen Reply-To: Bug 1075339 <1075339@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I mentioned the timeout options (send/receive timeout) which are the ones I was interested in. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1075339 Title: linux-user emulation of setsockopt ignores optlen Status in QEMU: New Bug description: setsockopt always treats the argument as a 4-byte int. This breaks timeout options (for which it's an 8- or 16-byte timeval structure, depending on word size) and possibly other socket options. int is probably a safe default, but options whose values are other types need special-case conversion code. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1075339/+subscriptions