From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <laurent@vivier.eu>
Subject: [PATCH 0/2] linux-user: handle /proc/self/exe with execve() syscall
Date: Sun, 25 Sep 2022 18:15:25 +0200 [thread overview]
Message-ID: <20220925161527.374593-1-laurent@vivier.eu> (raw)
Use execfd to re-exectute the binary from /proc/self/exe
Fix do_openat() that should not use execfd.
Laurent Vivier (2):
linux-user: handle /proc/self/exe with execve() syscall
linux-user: don't use AT_EXECFD in do_openat()
linux-user/main.c | 9 +++++++--
linux-user/syscall.c | 12 +++++++++---
linux-user/user-internals.h | 1 +
3 files changed, 17 insertions(+), 5 deletions(-)
--
2.37.3
next reply other threads:[~2022-09-25 16:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-25 16:15 Laurent Vivier [this message]
2022-09-25 16:15 ` [PATCH 1/2] linux-user: handle /proc/self/exe with execve() syscall Laurent Vivier
2022-09-25 16:15 ` [PATCH 2/2] linux-user: don't use AT_EXECFD in do_openat() Laurent Vivier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220925161527.374593-1-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).