From cc05ed085b731232a2436efcaf03aa1e92ad20be Mon Sep 17 00:00:00 2001 From: Luca Dariz Date: Mon, 16 Jan 2023 11:58:51 +0100 Subject: add msg_user_header_t for user-side msg structure * include/mach/message.h: use mach_msg_user_header_t only in KERNEL, and define it as mach_msh_header_t for user space * ipc/ipc_kmsg.c: use mach_msg_user_header_t where appropriate * ipc/ipc_kmsg.h: Likewise * ipc/mach_msg.c: Likewise * ipc/mach_msg.h: Likewise * kern/thread.h: Likewise Message-Id: <20230116105857.240210-2-luca@orpolo.org> --- kern/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/thread.h') diff --git a/kern/thread.h b/kern/thread.h index da8bd2ed..ebbbd11c 100644 --- a/kern/thread.h +++ b/kern/thread.h @@ -178,7 +178,7 @@ struct thread { /* State saved when thread's stack is discarded */ union { struct { - mach_msg_header_t *msg; + mach_msg_user_header_t *msg; mach_msg_option_t option; mach_msg_size_t rcv_size; mach_msg_timeout_t timeout; -- cgit v1.2.3