[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 01/01: Disable payload for pflocal address ports for now
From: |
Samuel Thibault |
Subject: |
[hurd] 01/01: Disable payload for pflocal address ports for now |
Date: |
Thu, 13 Aug 2015 22:09:57 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch master
in repository hurd.
commit f1387782fdb6670fe7dc81ed427f6f96a96774d9
Author: Samuel Thibault <address@hidden>
Date: Thu Aug 13 22:06:20 2015 +0000
Disable payload for pflocal address ports for now
as it breaks X11 authentication
---
debian/changelog | 8 +++--
debian/patches/disable-payload-pflocal.patch | 52 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 59 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f268630..a904796 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
-hurd (1:0.6.git20150704-2) UNRELEASED; urgency=medium
+hurd (1:0.6.git20150704-2) unstable; urgency=medium
+
+ [ Samuel Thibault ]
+ * Disable payload for pflocal address ports for now, as it breaks X11
+ authentication.
[ Justus Winter ]
* Include the new rpcscan utility.
- -- Samuel Thibault <address@hidden> Sat, 11 Jul 2015 14:01:03 +0200
+ -- Samuel Thibault <address@hidden> Thu, 13 Aug 2015 22:05:20 +0000
hurd (1:0.6.git20150704-1) unstable; urgency=medium
diff --git a/debian/patches/disable-payload-pflocal.patch
b/debian/patches/disable-payload-pflocal.patch
new file mode 100644
index 0000000..37e7a5c
--- /dev/null
+++ b/debian/patches/disable-payload-pflocal.patch
@@ -0,0 +1,52 @@
+Index: hurd-debian/libports/manage-multithread.c
+===================================================================
+--- hurd-debian.orig/libports/manage-multithread.c
++++ hurd-debian/libports/manage-multithread.c
+@@ -173,6 +173,7 @@ ports_manage_port_operations_multithread
+ else
+ {
+ pi = ports_lookup_port (bucket, inp->msgh_local_port, 0);
++#if 0
+ if (pi)
+ {
+ inp->msgh_bits = MACH_MSGH_BITS (
+@@ -180,6 +181,7 @@ ports_manage_port_operations_multithread
+ MACH_MSG_TYPE_PROTECTED_PAYLOAD);
+ inp->msgh_protected_payload = (unsigned long) pi;
+ }
++#endif
+ }
+
+ if (pi)
+Index: hurd-debian/libports/manage-one-thread.c
+===================================================================
+--- hurd-debian.orig/libports/manage-one-thread.c
++++ hurd-debian/libports/manage-one-thread.c
+@@ -64,6 +64,7 @@ ports_manage_port_operations_one_thread
+ else
+ {
+ pi = ports_lookup_port (bucket, inp->msgh_local_port, 0);
++#if 0
+ if (pi)
+ {
+ inp->msgh_bits = MACH_MSGH_BITS (
+@@ -71,6 +72,7 @@ ports_manage_port_operations_one_thread
+ MACH_MSG_TYPE_PROTECTED_PAYLOAD);
+ inp->msgh_protected_payload = (unsigned long) pi;
+ }
++#endif
+ }
+
+ if (pi)
+Index: hurd-debian/pflocal/sock.c
+===================================================================
+--- hurd-debian.orig/pflocal/sock.c
++++ hurd-debian/pflocal/sock.c
+@@ -262,6 +262,7 @@ addr_create (struct addr **addr)
+
+ if (! err)
+ {
++ mach_port_clear_protected_payload (mach_task_self (),
(*addr)->pi.port_right);
+ ensure_sock_server ();
+ (*addr)->sock = NULL;
+ pthread_mutex_init (&(*addr)->lock, NULL);
diff --git a/debian/patches/series b/debian/patches/series
index 3df0cf7..8144b20 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -41,3 +41,4 @@ term-for-tcl.patch
disable_new_task_notification.diff
newRPC.patch
dl_origin.patch
+disable-payload-pflocal.patch
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git