bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 05/11] include: add msgh_protected_payload to mach_msg_header_t


From: Justus Winter
Subject: [PATCH 05/11] include: add msgh_protected_payload to mach_msg_header_t
Date: Mon, 17 Feb 2014 18:20:55 +0100

* include/mach/message.h (mach_msg_header_t): Add
  msgh_protected_payload as a union with msgh_local_port.
---
 include/mach/message.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/mach/message.h b/include/mach/message.h
index f78e978..7464a57 100644
--- a/include/mach/message.h
+++ b/include/mach/message.h
@@ -136,7 +136,10 @@ typedef    struct {
     mach_msg_bits_t    msgh_bits;
     mach_msg_size_t    msgh_size;
     mach_port_t                msgh_remote_port;
-    mach_port_t                msgh_local_port;
+    union {
+        mach_port_t    msgh_local_port;
+        unsigned long  msgh_protected_payload;
+    };
     mach_port_seqno_t  msgh_seqno;
     mach_msg_id_t      msgh_id;
 } mach_msg_header_t;
-- 
1.8.5.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]