]> git.proxmox.com Git - mirror_qemu.git/commitdiff
bsd-user: Complete FreeBSD siginfo
authorWarner Losh <imp@bsdimp.com>
Mon, 24 Jan 2022 08:33:02 +0000 (01:33 -0700)
committerWarner Losh <imp@bsdimp.com>
Fri, 28 Jan 2022 22:52:38 +0000 (15:52 -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

index 84944faa4d34b2f3f28e6b27d4a5f06500fa1065..d50a3034a8877758ff715959086ec43b8ad2b7d1 100644 (file)
@@ -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];