summaryrefslogtreecommitdiffstats
path: root/bsd-user/freebsd/target_os_siginfo.h
diff options
context:
space:
mode:
authorWarner Losh2022-01-24 09:33:02 +0100
committerWarner Losh2022-01-28 23:52:38 +0100
commit4550c661bfa3fd4aba2d5dec7b732546124d8958 (patch)
tree4b9f34db6c580771e18af2308c43585bf096ed57 /bsd-user/freebsd/target_os_siginfo.h
parentMerge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into ... (diff)
downloadqemu-4550c661bfa3fd4aba2d5dec7b732546124d8958.tar.gz
qemu-4550c661bfa3fd4aba2d5dec7b732546124d8958.tar.xz
qemu-4550c661bfa3fd4aba2d5dec7b732546124d8958.zip
bsd-user: Complete FreeBSD siginfo
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>
Diffstat (limited to 'bsd-user/freebsd/target_os_siginfo.h')
-rw-r--r--bsd-user/freebsd/target_os_siginfo.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/bsd-user/freebsd/target_os_siginfo.h b/bsd-user/freebsd/target_os_siginfo.h
index 84944faa4d..d50a3034a8 100644
--- a/bsd-user/freebsd/target_os_siginfo.h
+++ b/bsd-user/freebsd/target_os_siginfo.h
@@ -71,12 +71,25 @@ 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];
} __spare__;