commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 03/05: New upstream snapshot


From: Samuel Thibault
Subject: [hurd] 03/05: New upstream snapshot
Date: Tue, 23 Feb 2016 23:53:23 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository hurd.

commit dcf3d6720c5772c8a4ba3d614db6ffde504dbc61
Author: Samuel Thibault <address@hidden>
Date:   Tue Feb 23 22:47:47 2016 +0000

    New upstream snapshot
---
 libports/manage-multithread.c | 7 ++++---
 libports/manage-one-thread.c  | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
index 60743d9..1588f63 100644
--- a/libports/manage-multithread.c
+++ b/libports/manage-multithread.c
@@ -180,9 +180,10 @@ ports_manage_port_operations_multithread (struct 
port_bucket *bucket,
                 having to do another hash table lookup in the intran
                 functions if protected payloads are not supported by
                 the kernel.  */
-             inp->msgh_bits = MACH_MSGH_BITS (
-               MACH_MSGH_BITS_REMOTE (inp->msgh_bits),
-               MACH_MSG_TYPE_PROTECTED_PAYLOAD);
+             inp->msgh_bits =
+               MACH_MSGH_BITS_OTHER (inp->msgh_bits)
+               | MACH_MSGH_BITS (MACH_MSGH_BITS_REMOTE (inp->msgh_bits),
+                                 MACH_MSG_TYPE_PROTECTED_PAYLOAD);
              inp->msgh_protected_payload = (unsigned long) pi;
            }
        }
diff --git a/libports/manage-one-thread.c b/libports/manage-one-thread.c
index b920338..313838c 100644
--- a/libports/manage-one-thread.c
+++ b/libports/manage-one-thread.c
@@ -71,9 +71,10 @@ ports_manage_port_operations_one_thread (struct port_bucket 
*bucket,
                 having to do another hash table lookup in the intran
                 functions if protected payloads are not supported by
                 the kernel.  */
-             inp->msgh_bits = MACH_MSGH_BITS (
-               MACH_MSGH_BITS_REMOTE (inp->msgh_bits),
-               MACH_MSG_TYPE_PROTECTED_PAYLOAD);
+             inp->msgh_bits =
+               MACH_MSGH_BITS_OTHER (inp->msgh_bits)
+               | MACH_MSGH_BITS (MACH_MSGH_BITS_REMOTE (inp->msgh_bits),
+                                 MACH_MSG_TYPE_PROTECTED_PAYLOAD);
              inp->msgh_protected_payload = (unsigned long) pi;
            }
        }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

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