commit-hurd
[Top][All Lists]
Advanced

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

[SCM] GNU Mach branch, master, updated. v1.4-478-g6b0ceb8


From: Justus Winter
Subject: [SCM] GNU Mach branch, master, updated. v1.4-478-g6b0ceb8
Date: Wed, 01 Oct 2014 07:34:19 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".

The branch, master has been updated
       via  6b0ceb8aec7dc2d607523d7aadc2fec237ce2ca8 (commit)
       via  a8d611bdbf48906010c6cde67eb6ff720e715cf0 (commit)
       via  56dc414b0699d1576fc1deb983a4bd2b0ef10f5d (commit)
       via  c4baf67b71e20d1fdd2cc6bda1a2ea15e9853cdd (commit)
       via  d565bf2f784ce1203e77306d05eade03933bc523 (commit)
      from  3a0fae39873c9c7d73dc978888e45b87ad27d44e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6b0ceb8aec7dc2d607523d7aadc2fec237ce2ca8
Author: Justus Winter <address@hidden>
Date:   Fri Nov 22 16:03:52 2013 +0100

    ipc: provide the protected payload in ipc_kmsg_copyout_header
    
    * 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.

commit a8d611bdbf48906010c6cde67eb6ff720e715cf0
Author: Justus Winter <address@hidden>
Date:   Mon Nov 25 01:27:14 2013 +0100

    include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD
    
    * 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.

commit 56dc414b0699d1576fc1deb983a4bd2b0ef10f5d
Author: Justus Winter <address@hidden>
Date:   Fri Nov 22 10:04:07 2013 +0100

    include: add msgh_protected_payload to mach_msg_header_t
    
    * 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.

commit c4baf67b71e20d1fdd2cc6bda1a2ea15e9853cdd
Author: Justus Winter <address@hidden>
Date:   Thu Nov 21 17:23:31 2013 +0100

    ipc: implement mach_port_{set,clear}_protected_payload
    
    * 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.

commit d565bf2f784ce1203e77306d05eade03933bc523
Author: Justus Winter <address@hidden>
Date:   Thu Nov 21 16:50:49 2013 +0100

    ipc: add protected payload
    
    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 new owner of that receive right wishes to use the protected
    payload mechanism, it has to be explicitly set again.
    
    * ipc/ipc_port.h (struct ipc_port): Add field ip_protected_payload.
    (ipc_port_set_protected_payload): Add function declaration.
    (ipc_port_clear_protected_payload): Likewise.
    (ipc_port_flag_protected_payload): Add accessor for the protected
    payload flag.
    (ipc_port_flag_protected_payload_set): Likewise.
    (ipc_port_flag_protected_payload_clear): Likewise.
    * ipc/ipc_port.c (ipc_port_init): Initialize protected payload.
    (ipc_port_print): Print protected_payload.
    (ipc_port_set_protected_payload): New function.
    (ipc_port_clear_protected_payload): Likewise.
    (ipc_port_destroy): Clear the payload when moving a receive port.
    * ipc/ipc_right.c (ipc_right_copyin): Likewise.
    (ipc_right_copyout): Likewise.
    * ipc/ipc_object.c (ipc_object_copyin_from_kernel): Likewise.
    * ipc/ipc_object.h (IO_BITS_PROTECTED_PAYLOAD): New bitmask.
    (IO_BITS_OTYPE): Adjust accordingly.

-----------------------------------------------------------------------

Summary of changes:
 doc/mach.texi               |   69 ++++++++++++++++++++++++++++++++++++++++
 include/mach/mach_port.defs |   18 ++++++++++
 include/mach/message.h      |    9 ++++-
 ipc/ipc_kmsg.c              |   58 ++++++++++++++++++++++++++--------
 ipc/ipc_object.c            |    1 +
 ipc/ipc_object.h            |    4 ++-
 ipc/ipc_port.c              |   48 ++++++++++++++++++++++++++++
 ipc/ipc_port.h              |   27 ++++++++++++++++
 ipc/ipc_right.c             |   12 +++++++
 ipc/mach_msg.c              |   53 +++++++++++++++++++++++--------
 ipc/mach_port.c             |   73 +++++++++++++++++++++++++++++++++++++++++++
 11 files changed, 343 insertions(+), 29 deletions(-)


hooks/post-receive
-- 
GNU Mach



reply via email to

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