aboutsummaryrefslogtreecommitdiff
path: root/migration-unix.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2013-07-02 14:04:12 +0100
committerRiku Voipio <riku.voipio@linaro.org>2013-07-05 15:45:40 +0300
commit463d8e7393681b300946d6bf9f9d5b7035d718c6 (patch)
treebceafbfd3b61dad838e7e2332c40a8ffe3eb3713 /migration-unix.c
parentab8bf29078e0ab8347e2ff8b4e5542f7a0c751cf (diff)
downloadqemu-463d8e7393681b300946d6bf9f9d5b7035d718c6.zip
qemu-463d8e7393681b300946d6bf9f9d5b7035d718c6.tar.gz
qemu-463d8e7393681b300946d6bf9f9d5b7035d718c6.tar.bz2
linux-user: handle /proc/$$ like /proc/self
Some applications use /proc/$$/... (where $$ is the own pid) instead of /proc/self/... to refer to their own proc files. Extend the interception for open and readlink to handle this case. Also, do the same interception in readlinkat. Signed-off-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'migration-unix.c')
0 files changed, 0 insertions, 0 deletions