From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIIGt-0008Ok-44 for qemu-devel@nongnu.org; Mon, 14 Jul 2008 03:14:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIIGq-0008Lh-OT for qemu-devel@nongnu.org; Mon, 14 Jul 2008 03:14:54 -0400 Received: from [199.232.76.173] (port=57319 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIIGq-0008LZ-M6 for qemu-devel@nongnu.org; Mon, 14 Jul 2008 03:14:52 -0400 Received: from mx20.gnu.org ([199.232.41.8]:5194) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KIIGq-0005ZK-EG for qemu-devel@nongnu.org; Mon, 14 Jul 2008 03:14:52 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIIGp-0005DT-Bg for qemu-devel@nongnu.org; Mon, 14 Jul 2008 03:14:51 -0400 Message-ID: <487AFCE8.1060006@web.de> Date: Mon, 14 Jul 2008 09:14:48 +0200 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] linux-user: Turn gdt_table into local variable References: <487A6578.8020501@web.de> <200807132311.18504.paul@codesourcery.com> In-Reply-To: <200807132311.18504.paul@codesourcery.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1CE1BD04350D3E46382B749A" Sender: jan.kiszka@web.de Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1CE1BD04350D3E46382B749A Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Paul Brook wrote: > On Sunday 13 July 2008, Jan Kiszka wrote: >> qemu_malloc[z] does not return memory suited for direct guest access, >> but that is mandatory for gdt_table. Local host variables are safe,=20 >=20 > No they aren't. Well, right (even when renaming local to global - what I actually meant). It is safer, but some risk remains that global variables are mapped to high addresses. Due to this and also because of some further bug of that kind I found in the meantime a better series is on the way. Jan --------------enig1CE1BD04350D3E46382B749A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkh6/OgACgkQniDOoMHTA+lUVgCeMMKFPQoxCNj/D7uosWtXwPoe 6FoAoILuO4ggkLcvZ80Kk5rOXFzLk9p9 =UdqD -----END PGP SIGNATURE----- --------------enig1CE1BD04350D3E46382B749A--