linux-user: add open() hijack infrastructure
commit3be14d05d45774b67398debe42e3bb5524998f4f
authorAlexander Graf <agraf@suse.de>
Wed, 2 Nov 2011 19:23:23 +0000 (2 20:23 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Thu, 2 Feb 2012 15:51:19 +0000 (2 17:51 +0200)
tree838849287089f6368b1fb259726396f634362667
parent125b0f55b63d11518f7d17480c795697c98b9bd3
linux-user: add open() hijack infrastructure

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 <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c