[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 0/6] linux-user: Reorg interp_prefix handling
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH v5 0/6] linux-user: Reorg interp_prefix handling |
Date: |
Thu, 31 May 2018 15:49:05 -0700 |
Changes since v4 (2018-01-28)
* Protect host fds from guest manipulation.
* Rename the interp_dirfd macro to TRY_INTERP_FD
* Add TRY_INTERP_PATH for acct, statfs, inotify_add_watch
Changes since v3 (2017-12-29)
* Use DO/WHILE as the control construct; wrap it in a macro.
* Introduce linux_user_path to handle the cases *at syscalls
do not cover.
Changes since v2 (2017-12-04)
* Use IF as the control construct instead of SWITCH.
Changes since v1 (2016-11-??)
* Require interp_dirfd set before trying the *at path.
r~
Richard Henderson (6):
gdbstub: Return the fd from gdbserver_start
linux-user: Add host_fds and manipulators
linux-user: Check is_hostfd in do_syscall
linux-user: Check contains_hostfd in select syscalls
linux-user: Check is_hostfd in mmap syscalls
linux-user: Use *at functions to implement interp_prefix
linux-user/qemu.h | 67 ++++++
gdbstub.c | 5 +-
linux-user/elfload.c | 5 +-
linux-user/main.c | 53 ++++-
linux-user/syscall.c | 485 ++++++++++++++++++++++++++++++++++++-------
5 files changed, 532 insertions(+), 83 deletions(-)
--
2.17.0
- [Qemu-devel] [PATCH v5 0/6] linux-user: Reorg interp_prefix handling,
Richard Henderson <=
- [Qemu-devel] [PATCH 1/6] gdbstub: Return the fd from gdbserver_start, Richard Henderson, 2018/05/31
- [Qemu-devel] [PATCH 2/6] linux-user: Add host_fds and manipulators, Richard Henderson, 2018/05/31
- [Qemu-devel] [PATCH 4/6] linux-user: Check contains_hostfd in select syscalls, Richard Henderson, 2018/05/31
- [Qemu-devel] [PATCH 5/6] linux-user: Check is_hostfd in mmap syscalls, Richard Henderson, 2018/05/31
- [Qemu-devel] [PATCH 3/6] linux-user: Check is_hostfd in do_syscall, Richard Henderson, 2018/05/31
- [Qemu-devel] [PATCH 6/6] linux-user: Use *at functions to implement interp_prefix, Richard Henderson, 2018/05/31
- Re: [Qemu-devel] [PATCH v5 0/6] linux-user: Reorg interp_prefix handling, no-reply, 2018/05/31