[PULL 01/28] linux-user: Fix access to /proc/self/exe

2023-03-10 Thread Laurent Vivier
From: Helge Deller When accsssing /proc/self/exe from a userspace program, linux-user tries to resolve the name via realpath(), which may fail if the process changed the working directory in the meantime. An example: - a userspace program ist started with ./testprogram - the program runs chdir("

[PULL 01/28] linux-user: Fix access to /proc/self/exe

2023-03-08 Thread Laurent Vivier
From: Helge Deller When accsssing /proc/self/exe from a userspace program, linux-user tries to resolve the name via realpath(), which may fail if the process changed the working directory in the meantime. An example: - a userspace program ist started with ./testprogram - the program runs chdir("