From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTY9v-0004xT-7C for qemu-devel@nongnu.org; Tue, 20 Mar 2007 02:49:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTY9q-0004st-RS for qemu-devel@nongnu.org; Tue, 20 Mar 2007 02:49:26 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTY9q-0004sn-J1 for qemu-devel@nongnu.org; Tue, 20 Mar 2007 01:49:22 -0500 Received: from grayson.netsweng.com ([207.235.77.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTY8H-0006U7-P5 for qemu-devel@nongnu.org; Tue, 20 Mar 2007 02:47:46 -0400 Received: from amavis by grayson.netsweng.com with scanned-ok (Exim 3.36 #1 (Debian)) id 1HTY8F-0001Qd-00 for ; Tue, 20 Mar 2007 02:47:43 -0400 Received: from grayson.netsweng.com ([127.0.0.1]) by localhost (grayson.netsweng.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pgr1QWemFzzP for ; Tue, 20 Mar 2007 02:47:28 -0400 (EDT) Received: from h211.241.141.67.ip.alltel.net ([67.141.241.211] helo=trantor.stuart.netsweng.com) by grayson.netsweng.com with esmtp (Exim 3.36 #1 (Debian)) id 1HTY80-0001QS-00 for ; Tue, 20 Mar 2007 02:47:28 -0400 Date: Tue, 20 Mar 2007 02:46:58 -0400 (EDT) From: Stuart Anderson Subject: Re: [Qemu-devel] [PATCH] fcntl64 fix In-Reply-To: Message-ID: References: <20070309215335.GB5629@localhost.localdomain> <20070319171303.GE28895@networkno.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811327-1648503052-1174373218=:12505" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811327-1648503052-1174373218=:12505 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Mon, 19 Mar 2007, Stuart Anderson wrote: > > My initial fix was before I started using LTP, and just took care of a > single case that was holding me up. Now I have run the fcntl tests in > LTP on ARM (both oABI and EABI) and there are a lot of failures indicating > that there is a lot more work to be done yet on fcntl(). > > I'll take a look into it, and probably resubmit a bigger patch later. One more small fix to repack a structure from taget -> host before using it clears up most of the fcntl() errors that showed up in LTP. This is one of those that probably doesn't happen when runngin 32 on 32, but I'm running 32 on 64. Stuart Stuart R. Anderson anderson@netsweng.com Network & Software Engineering http://www.netsweng.com/ 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F BD03 0A62 E534 37A7 9149 ---1463811327-1648503052-1174373218=:12505 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diff Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: fcntl fix Content-Disposition: attachment; filename=diff LS0tIGxpbnV4LXVzZXIvc3lzY2FsbC5jLm9yaWcJMjAwNy0wMy0yMCAwMToy NTozOS4wMDAwMDAwMDAgLTA0MDANCisrKyBsaW51eC11c2VyL3N5c2NhbGwu YwkyMDA3LTAzLTIwIDAyOjMyOjM5LjAwMDAwMDAwMCAtMDQwMA0KQEAgLTIx MDcsNiArMjEwNywxMyBAQA0KIA0KICAgICBzd2l0Y2goY21kKSB7DQogICAg IGNhc2UgVEFSR0VUX0ZfR0VUTEs6DQorICAgICAgICBsb2NrX3VzZXJfc3Ry dWN0KHRhcmdldF9mbCwgYXJnLCAxKTsNCisgICAgICAgIGZsLmxfdHlwZSA9 IHRzd2FwMTYodGFyZ2V0X2ZsLT5sX3R5cGUpOw0KKyAgICAgICAgZmwubF93 aGVuY2UgPSB0c3dhcDE2KHRhcmdldF9mbC0+bF93aGVuY2UpOw0KKyAgICAg ICAgZmwubF9zdGFydCA9IHRzd2FwbCh0YXJnZXRfZmwtPmxfc3RhcnQpOw0K KyAgICAgICAgZmwubF9sZW4gPSB0c3dhcGwodGFyZ2V0X2ZsLT5sX2xlbik7 DQorICAgICAgICBmbC5sX3BpZCA9IHRzd2FwbCh0YXJnZXRfZmwtPmxfcGlk KTsNCisgICAgICAgIHVubG9ja191c2VyX3N0cnVjdCh0YXJnZXRfZmwsIGFy ZywgMCk7DQogICAgICAgICByZXQgPSBmY250bChmZCwgY21kLCAmZmwpOw0K ICAgICAgICAgaWYgKHJldCA9PSAwKSB7DQogICAgICAgICAgICAgbG9ja191 c2VyX3N0cnVjdCh0YXJnZXRfZmwsIGFyZywgMCk7DQo= ---1463811327-1648503052-1174373218=:12505--