[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: Turn gdt_table into local variable
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: Turn gdt_table into local variable |
Date: |
Mon, 14 Jul 2008 09:14:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
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,
>
> 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
signature.asc
Description: OpenPGP digital signature