qemu-devel
[Top][All Lists]
Advanced

[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: Riku Voipio
Subject: Re: [Qemu-devel] [PATCH 0/5] linux-user: fake some /proc/self entries
Date: Thu, 3 Nov 2011 12:47:26 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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.

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(-)
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]