commit | 463d8e7393681b300946d6bf9f9d5b7035d718c6 | [log] [tgz] |
---|---|---|
author | Andreas Schwab <schwab@suse.de> | Tue Jul 02 14:04:12 2013 +0100 |
committer | Riku Voipio <riku.voipio@linaro.org> | Fri Jul 05 15:45:40 2013 +0300 |
tree | bceafbfd3b61dad838e7e2332c40a8ffe3eb3713 | |
parent | ab8bf29078e0ab8347e2ff8b4e5542f7a0c751cf [diff] |
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>