diff options
| author | Andreas Schwab <schwab@suse.de> | 2013-07-02 14:04:12 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2013-07-05 15:45:40 +0300 |
| commit | 463d8e7393681b300946d6bf9f9d5b7035d718c6 (patch) | |
| tree | bceafbfd3b61dad838e7e2332c40a8ffe3eb3713 /user-exec.c | |
| parent | ab8bf29078e0ab8347e2ff8b4e5542f7a0c751cf (diff) | |
| download | focaccia-qemu-463d8e7393681b300946d6bf9f9d5b7035d718c6.tar.gz focaccia-qemu-463d8e7393681b300946d6bf9f9d5b7035d718c6.zip | |
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 'user-exec.c')
0 files changed, 0 insertions, 0 deletions