From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: git@xen0n.name, laurent@vivier.eu, "Warner Losh" <imp@bsdimp.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: [PATCH v7 07/15] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS
Date: Mon, 13 Dec 2021 16:25:56 -0800 [thread overview]
Message-ID: <20211214002604.161983-8-richard.henderson@linaro.org> (raw)
In-Reply-To: <20211214002604.161983-1-richard.henderson@linaro.org>
This value is fully internal to qemu, and so is not a TARGET define.
We use this as an extra marker for both host and target errno.
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/errno_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsd-user/errno_defs.h b/bsd-user/errno_defs.h
index 832671354f..141e08456c 100644
--- a/bsd-user/errno_defs.h
+++ b/bsd-user/errno_defs.h
@@ -151,6 +151,6 @@
/* Internal errors: */
#define TARGET_EJUSTRETURN 254 /* Just return without modifing regs */
#define TARGET_ERESTART 255 /* Restart syscall */
-#define TARGET_ERESTARTSYS TARGET_ERESTART /* Linux compat */
+#define QEMU_ERESTARTSYS TARGET_ERESTART
#endif /* ! _ERRNO_DEFS_H_ */
--
2.25.1
next prev parent reply other threads:[~2021-12-14 0:35 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-14 0:25 [PATCH v7 00/15] linux-user: simplify safe signal handling Richard Henderson
2021-12-14 0:25 ` [PATCH v7 01/15] linux-user: Untabify all safe-syscall.inc.S Richard Henderson
2021-12-14 15:32 ` Philippe Mathieu-Daudé
2021-12-14 0:25 ` [PATCH v7 02/15] linux-user: Move syscall error detection into safe_syscall_base Richard Henderson
2021-12-14 0:25 ` [PATCH v7 03/15] linux-user/host/mips: Add safe-syscall.inc.S Richard Henderson
2021-12-14 15:25 ` Philippe Mathieu-Daudé
2021-12-14 0:25 ` [PATCH v7 04/15] linux-user/host/sparc64: " Richard Henderson
2021-12-14 15:30 ` Philippe Mathieu-Daudé
2021-12-14 23:05 ` Richard Henderson
2021-12-14 0:25 ` [PATCH v7 05/15] linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h Richard Henderson
2021-12-14 0:25 ` [PATCH v7 06/15] linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS Richard Henderson
2021-12-14 0:25 ` Richard Henderson [this message]
2021-12-14 0:25 ` [PATCH v7 08/15] linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN Richard Henderson
2021-12-14 13:09 ` Philippe Mathieu-Daudé
2021-12-14 0:25 ` [PATCH v7 09/15] linux-user: Create special-errno.h Richard Henderson
2021-12-14 13:10 ` Philippe Mathieu-Daudé
2021-12-14 0:25 ` [PATCH v7 10/15] bsd-user: " Richard Henderson
2021-12-14 13:10 ` Philippe Mathieu-Daudé
2021-12-14 0:26 ` [PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user Richard Henderson
2021-12-14 13:13 ` Philippe Mathieu-Daudé
2021-12-14 0:26 ` [PATCH v7 12/15] common-user: Adjust system call return on FreeBSD Richard Henderson
2021-12-14 0:26 ` [PATCH v7 13/15] linux-user: Move thunk.c from top-level Richard Henderson
2021-12-14 0:26 ` [PATCH v7 14/15] meson: Move linux_user_ss to linux-user/ Richard Henderson
2021-12-14 13:14 ` Philippe Mathieu-Daudé
2021-12-14 0:26 ` [PATCH v7 15/15] meson: Move bsd_user_ss to bsd-user/ Richard Henderson
2021-12-14 8:05 ` [PATCH v7 00/15] linux-user: simplify safe signal handling WANG Xuerui
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=20211214002604.161983-8-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=f4bug@amsat.org \
--cc=git@xen0n.name \
--cc=imp@bsdimp.com \
--cc=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).