[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 01/40] bsd-user: Complete FreeBSD siginfo
From: |
Warner Losh |
Subject: |
[PATCH v3 01/40] bsd-user: Complete FreeBSD siginfo |
Date: |
Fri, 28 Jan 2022 16:27:26 -0700 |
Fill in the missing FreeBSD siginfo fields, and add some comments.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/freebsd/target_os_siginfo.h | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/bsd-user/freebsd/target_os_siginfo.h
b/bsd-user/freebsd/target_os_siginfo.h
index 84944faa4d3..d50a3034a88 100644
--- a/bsd-user/freebsd/target_os_siginfo.h
+++ b/bsd-user/freebsd/target_os_siginfo.h
@@ -71,11 +71,24 @@ typedef struct target_siginfo {
int32_t _mqd;
} _mesgp;
- /* SIGPOLL */
+ /* SIGPOLL -- Not really genreated in FreeBSD ??? */
struct {
int _band; /* POLL_IN, POLL_OUT, POLL_MSG */
} _poll;
+ struct {
+ int _mqd;
+ } _mesgq;
+
+ struct {
+ /*
+ * Syscall number for signals delivered as a result of system calls
+ * denied by Capsicum.
+ */
+ int _syscall;
+ } _capsicum;
+
+ /* Spare for future growth */
struct {
abi_long __spare1__;
int32_t __spare2_[7];
--
2.33.1
- [PATCH v3 00/40] bsd-user: upstream signal implementation, Warner Losh, 2022/01/28
- [PATCH v3 01/40] bsd-user: Complete FreeBSD siginfo,
Warner Losh <=
- [PATCH v3 03/40] bsd-user/arm/signal.c: Implement setup_sigframe_arch for arm, Warner Losh, 2022/01/28
- [PATCH v3 02/40] bsd-user: Create setup_sigframe_arch to setup sigframe context, Warner Losh, 2022/01/28
- [PATCH v3 04/40] bsd-user/arm/signal.c: get_mcontext should zero vfp data, Warner Losh, 2022/01/28
- [PATCH v3 07/40] bsd-user/arm/target_arch_cpu.h: Move EXCP_ATOMIC to match linux-user, Warner Losh, 2022/01/28
- [PATCH v3 05/40] bsd-user: Remove vestiges of signal queueing code, Warner Losh, 2022/01/28
- [PATCH v3 06/40] bsd-user: Bring in docs from linux-user for signal_pending, Warner Losh, 2022/01/28
- [PATCH v3 08/40] bsd-user/signal.c: implement force_sig_fault, Warner Losh, 2022/01/28
- [PATCH v3 09/40] bsd-user/signal-common.h: Move signal functions prototypes to here, Warner Losh, 2022/01/28
- [PATCH v3 10/40] bsd-user/signal.c: Implement cpu_loop_exit_sigsegv, Warner Losh, 2022/01/28
- [PATCH v3 12/40] bsd-user/arm/arget_arch_cpu.h: Move EXCP_DEBUG and EXCP_BKPT together, Warner Losh, 2022/01/28