]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Add "safe" parameter to do_guest_openat()
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 30 Jun 2023 18:04:17 +0000 (19:04 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 3 Jul 2023 11:52:34 +0000 (12:52 +0100)
commit35be898e2f019bc63bffd02ab7fbd19287fd3cf4
treec5414dd11bdf0df3597a9cdcc1de0b2a1722fd66
parenta4dab0a0d3a40079b439dcab94d347d33184c166
linux-user: Add "safe" parameter to do_guest_openat()

gdbstub cannot meaningfully handle QEMU_ERESTARTSYS, and it doesn't
need to. Add a parameter to do_guest_openat() that makes it use
openat() instead of safe_openat(), so that it becomes usable from
gdbstub.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230621203627.1808446-3-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-33-alex.bennee@linaro.org>
linux-user/qemu.h
linux-user/syscall.c