Re: [PATCH 8/8] startup: bind the startup server to /servers/startup

2014-09-18 Thread Justus Winter
Hi David :) Quoting David Michael (2014-09-18 23:14:17) > Hi, > > On Wed, Sep 3, 2014 at 8:33 AM, Justus Winter > <4win...@informatik.uni-hamburg.de> wrote: > > Bind the startup server to /servers/startup instead. Use this to > > contact the startup server. > > I'm trying to test this patch, an

Re: [PATCH 8/8] startup: bind the startup server to /servers/startup

2014-09-18 Thread David Michael
Hi, On Wed, Sep 3, 2014 at 8:33 AM, Justus Winter <4win...@informatik.uni-hamburg.de> wrote: > Bind the startup server to /servers/startup instead. Use this to > contact the startup server. I'm trying to test this patch, and glibc appears to need an update as well. Does this look okay? Thanks.

[PATCH 2/2] procfs: implement /proc/filesystems

2014-09-18 Thread Justus Winter
* procfs/rootdir.c (rootdir_gc_filesystems): New function. (rootdir_entries): Use the new function to implement /proc/filesystems. --- procfs/rootdir.c | 61 +++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/procfs/rootdir.c b/pr

[PATCH 1/2] procfs: implement /proc/N/maps

2014-09-18 Thread Justus Winter
Fixes https://savannah.gnu.org/bugs/?32770 . * procfs/process.c (process_file_gc_maps): New function. (entries): Use the new function to implement /proc/N/maps. --- procfs/process.c | 104 ++- 1 file changed, 103 insertions(+), 1 deletion(-) di

[PATCH 8/8] include: add a payload-aware intran mutator for device_t

2014-09-18 Thread Justus Winter
* include/device/device_types.defs (device_t): Add a payload-aware intran mutator. --- include/device/device_types.defs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/device/device_types.defs b/include/device/device_types.defs index ff6cff6..49cc271 100644 --- a/include/device/devi

[PATCH 7/8] include: add a payload-aware intran mutator for notify_port_t

2014-09-18 Thread Justus Winter
* include/mach/notify.defs (notify_port_t): Add a payload-aware intran mutator. --- include/mach/notify.defs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/mach/notify.defs b/include/mach/notify.defs index 5e59d39..6ba4cde 100644 --- a/include/mach/notify.defs +++ b/include/mach/no

[PATCH 6/8] include: add a payload-aware intran mutator for memory_object_t

2014-09-18 Thread Justus Winter
* include/mach/mach_types.defs (memory_object_t): Add a payload-aware intran mutator. * include/mach/memory_object.defs: Likewise in the inlined type declarations. --- include/mach/mach_types.defs| 3 +++ include/mach/memory_object.defs | 13 + 2 files changed, 16 insertions(+) d

[PATCH 5/8] ipc: provide the protected payload in ipc_kmsg_copyout_header

2014-09-18 Thread Justus Winter
* ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): If a protected payload is set for the destination port, provide it in msgh_protected_payload. * ipc/mach_msg.c (mach_msg_trap): Likewise in the fast paths. * doc/mach.texi (Message Receive): Document message semantics with protected payloads. --- doc/mac

[PATCH 1/8] ipc: add protected payload

2014-09-18 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

[PATCH 3/8] include: add msgh_protected_payload to mach_msg_header_t

2014-09-18 Thread Justus Winter
* include/mach/message.h (mach_msg_header_t): Add msgh_protected_payload as a union with msgh_local_port. * doc/mach.texi (Message Format): Document msgh_protected_payload. --- doc/mach.texi | 9 + include/mach/message.h | 5 - 2 files changed, 13 insertions(+), 1 deletion(-

[PATCH 4/8] include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD

2014-09-18 Thread Justus Winter
* include/mach/message.h: Define MACH_MSG_TYPE_PROTECTED_PAYLOAD. (MACH_MSG_TYPE_LAST): Adjust accordingly. * doc/mach.texi (Message Format): Document MACH_MSG_TYPE_PROTECTED_PAYLOAD. --- doc/mach.texi | 6 ++ include/mach/message.h | 4 +++- 2 files changed, 9 insertions(+), 1 deleti

[PATCH 2/8] ipc: implement mach_port_{set,clear}_protected_payload

2014-09-18 Thread Justus Winter
* include/mach/mach_port.defs: Add mach_port_{set,clear}_protected_payload. * ipc/mach_port.c: Implement mach_port_{set,clear}_protected_payload. * doc/mach.texi (Receive Rights): Document mach_port_{set,clear}_protected_payload. --- doc/mach.texi | 35 ++ include

Re: [PATCH 5/5] ipc: provide the protected payload in ipc_kmsg_copyout_header

2014-09-18 Thread Justus Winter
Quoting Samuel Thibault (2014-02-22 15:29:32) > Justus Winter, le Fri 21 Feb 2014 17:49:28 +0100, a écrit : > > * ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): If a protected payload is > > set for the destination port, provide it in msgh_protected_payload. > > * doc/mach.texi (Message Receive): Docu