[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Debian GNU Hurd packaging branch, master, updated. upstream/201103
From: |
Samuel Thibault |
Subject: |
[SCM] Debian GNU Hurd packaging branch, master, updated. upstream/20110303-451-g3850a5f |
Date: |
Fri, 18 Mar 2011 00:32:45 +0000 |
The following commit has been merged in the master branch:
commit 3850a5ffdc06221034fdcbce4d332e4745fbae63
Author: Samuel Thibault <address@hidden>
Date: Fri Mar 18 01:32:25 2011 +0100
Drop a receive right user reference, not a send right user reference
diff --git a/debian/patches/libdiskfs_self-reauth.patch
b/debian/patches/libdiskfs_self-reauth.patch
index c965086..b3e048b 100644
--- a/debian/patches/libdiskfs_self-reauth.patch
+++ b/debian/patches/libdiskfs_self-reauth.patch
@@ -2,9 +2,6 @@
http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00045.html
-I believe this shouldn't pose problem except a possible port leak in case port
-accounting is not correct somewhere.
-
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index 54d3c0c..6585052 100644
--- a/libfshelp/fetch-root.c
@@ -16,7 +13,7 @@ index 54d3c0c..6585052 100644
- mach_port_destroy (mach_task_self (), rend);
+ /* crdir could be ourselves, and thus diskfs_S_io_reauthenticate
+ * would get the same name, so don't _destroy_ it !! */
-+ mach_port_deallocate (mach_task_self (), rend);
++ mach_port_mod_refs (mach_task_self (), rend, MACH_PORT_RIGHT_RECEIVE,
-1);
return ret;
}
@@ -29,7 +26,7 @@ index dd267ef..12b34fc 100644
err = auth_user_authenticate (auth, ref, MACH_MSG_TYPE_MAKE_SEND,
&newport);
- mach_port_destroy (mach_task_self (), ref);
-+ mach_port_deallocate (mach_task_self (), ref);
++ mach_port_mod_refs (mach_task_self (), ref, MACH_PORT_RIGHT_RECEIVE,
-1);
if (err)
{
if (must_reauth)
--
Debian GNU Hurd packaging
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Debian GNU Hurd packaging branch, master, updated. upstream/20110303-451-g3850a5f,
Samuel Thibault <=