qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/5] linux-user: fake some /proc/self entries


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 0/5] linux-user: fake some /proc/self entries
Date: Wed, 2 Nov 2011 20:23:21 +0100

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.

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]