[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/2] linux-user: handle /proc/self/exe with execve() sysca
From: |
Michael Tokarev |
Subject: |
Re: [PATCH v2 0/2] linux-user: handle /proc/self/exe with execve() syscall |
Date: |
Wed, 26 Oct 2022 18:25:43 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 |
27.09.2022 15:43, Laurent Vivier wrote:
Use exec_path to re-execute the binary from /proc/self/exe
Fix do_openat() that should not use execfd.
v2:
- don't use execfd as it can't be closed and is usable by the child
Why can't it be closed? I mean, how about O_CLOEXEC?
Your initial usage of execveat() seemed very elegant.
Thanks,
/mjt
- Re: [PATCH v2 0/2] linux-user: handle /proc/self/exe with execve() syscall,
Michael Tokarev <=