[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/5] linux-user: fake some /proc/self entries
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 0/5] linux-user: fake some /proc/self entries |
Date: |
Thu, 3 Nov 2011 11:34:11 -0700 |
On 03.11.2011, at 03:47, Riku Voipio <address@hidden> wrote:
> On Wed, Nov 02, 2011 at 08:23:21PM +0100, Alexander Graf wrote:
>> When running linux-user programs in QEMU, the guest program can examine
>> itself by checking /proc/self/ files. And some libraries really do use
>> this!
>>
>> Unfortunately, when checking /proc/self/ today, the guest program sees
>> the QEMU files, exposing wrong information to the guest program.
>
>> This patch set fakes auxv, maps and stat to make gtk, pthread and boehm
>> gc happy.
>
> This is awesome stuff, but unfortunately just a day after 1.0 hard freeze :(
> David pointed out that more files in proc could be done, but this is a good
> start.
I'm sure we'll find more nice little issues later, so no worries. There is a
world post-1.0 :)
Alex
>
> Riku
>
>> Alex
>>
>> Alexander Graf (5):
>> linux-user: save auxv length
>> linux-user: add open() hijack infrastructure
>> linux-user: fake /proc/self/maps
>> linux-user: fake /proc/self/stat
>> linux-user: fake /proc/self/auxv
>>
>> linux-user/elfload.c | 15 ++-----
>> linux-user/qemu.h | 1 +
>> linux-user/syscall.c | 123 ++++++++++++++++++++++++++++++++++++++++++++++++-
>> 3 files changed, 125 insertions(+), 14 deletions(-)
>>
Re: [Qemu-devel] [PATCH 0/5] linux-user: fake some /proc/self entries, Riku Voipio, 2011/11/03
- Re: [Qemu-devel] [PATCH 0/5] linux-user: fake some /proc/self entries,
Alexander Graf <=