[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
- [PATCH 04/11] doc: document mach_port_set_protected_payload, (continued)
- [PATCH 04/11] doc: document mach_port_set_protected_payload, Justus Winter, 2014/02/17
- [PATCH 02/11] ipc: add protected payload, Justus Winter, 2014/02/17
- [PATCH 03/11] ipc: implement mach_port_set_protected_payload, Justus Winter, 2014/02/17
- [PATCH 07/11] include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD, Justus Winter, 2014/02/17
- [PATCH 08/11] doc: document MACH_MSG_TYPE_PROTECTED_PAYLOAD, Justus Winter, 2014/02/17
- [PATCH 06/11] doc: document msgh_protected_payload, Justus Winter, 2014/02/17
- [PATCH 10/11] ipc: clear the payload when moving a receive port, Justus Winter, 2014/02/17
- [PATCH 05/11] include: add msgh_protected_payload to mach_msg_header_t,
Justus Winter <=
- [PATCH 11/11] doc: document message semantics with protected payloads, Justus Winter, 2014/02/17
- [PATCH 09/11] ipc: provide the protected payload in ipc_kmsg_copyout_header, Justus Winter, 2014/02/17
- Re: protected payloads for GNU Mach, Samuel Thibault, 2014/02/19