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: NAndreas Schwab <schwab@suse.de> Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
Showing
想要评论请 注册 或 登录