Re: [PATCH] linux-user: Use memfd for open syscall emulation

2022-07-25 Thread Richard Henderson
On 7/25/22 09:28, Rainer Müller wrote: For certain paths in /proc, the open syscall is intercepted and the returned file descriptor points to a temporary file with emulated contents. If TMPDIR is not accessible or writable for the current user (for example in a read-only mounted chroot or contai

[PATCH] linux-user: Use memfd for open syscall emulation

2022-07-25 Thread Rainer Müller
For certain paths in /proc, the open syscall is intercepted and the returned file descriptor points to a temporary file with emulated contents. If TMPDIR is not accessible or writable for the current user (for example in a read-only mounted chroot or container) tools such as ps from procps may fai