diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-30 20:09:01 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-30 20:09:01 +0000 |
commit | d088d664f2015ba9d168e61d56c599cee81f2aad (patch) | |
tree | a299f658523698fc9e6ad3007e19003a5e60abd8 /device_tree.c | |
parent | 04a6dfebb6b52532a1e0bd637899f1eba14e94c6 (diff) |
linux-user: identify running binary in /proc/self/exe
Some applications like to test /proc/self/exe to find
out who they are. Fake the result of readlink() for
them. Use realpath() to return full path to binary
(which the links /proc/self/exe are)
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6485 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions