Re: [Qemu-devel] [PATCH 2/5] linux-user: add open() hijack infrastructure

2011-11-03 Thread Alexander Graf
On 03.11.2011, at 02:34, David Gilbert wrote: > On 2 November 2011 19:23, Alexander Graf wrote: >> There are a number of files in /proc that expose host information >> to the guest program. This patch adds infrastructure to override >> the open() syscall for guest programs to enable us to on th

Re: [Qemu-devel] [PATCH 2/5] linux-user: add open() hijack infrastructure

2011-11-03 Thread David Gilbert
On 2 November 2011 19:23, Alexander Graf wrote: > There are a number of files in /proc that expose host information > to the guest program. This patch adds infrastructure to override > the open() syscall for guest programs to enable us to on the fly > generate guest sensible files. > > Signed-off-

[Qemu-devel] [PATCH 2/5] linux-user: add open() hijack infrastructure

2011-11-02 Thread Alexander Graf
There are a number of files in /proc that expose host information to the guest program. This patch adds infrastructure to override the open() syscall for guest programs to enable us to on the fly generate guest sensible files. Signed-off-by: Alexander Graf --- linux-user/syscall.c | 52 +++