Re: [PATCH 1/5] ipc: add protected payload

2014-02-21 Thread Richard Braun
On Fri, Feb 21, 2014 at 05:49:24PM +0100, Justus Winter wrote: > -#define IO_BITS_OTYPE0x7fff /* determines a cache */ > +#define IO_BITS_OTYPE0x3fff /* determines a cache */ > +/* The following masks are used to store attributes of ipc ports. */ >

[PATCH 1/5] ipc: add protected payload

2014-02-21 Thread Justus Winter
Add a field ip_protected_payload and a flag ip_has_protected_payload to struct ipc_port. Clear the protected payload when a receive port is moved from one ipc space to another. This is done to retain the old behavior of mach_msg, so that a port name is sent in the msgh_local_port field. If the ne

Re: [PATCH 1/5] ipc: add protected payload

2014-02-21 Thread Richard Braun
On Fri, Feb 21, 2014 at 12:48:49PM +0100, Justus Winter wrote: > Add a field ip_protected_payload and a flag ip_has_protected_payload > to struct ipc_port. > diff --git a/ipc/ipc_port.h b/ipc/ipc_port.h > index 27d2e49..4c7c742 100644 > --- a/ipc/ipc_port.h > +++ b/ipc/ipc_port.h > @@ -71,6 +71,10

[PATCH 1/5] ipc: add protected payload

2014-02-21 Thread Justus Winter
Add a field ip_protected_payload and a flag ip_has_protected_payload to struct ipc_port. Clear the protected payload when a receive port is moved from one ipc space to another. This is done to retain the old behavior of mach_msg, so that a port name is sent in the msgh_local_port field. If the ne