summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2008-09-21 12:24:49 +0000
committerMichael Banck <mbanck@debian.org>2008-09-21 12:24:49 +0000
commit66ea9758dbb84aea02ae683fd765ee04461f6e33 (patch)
treead2981e9d35520fbcb9d21d757f2b1611eca65fd /debian
parent6ab06fa26d1fad942adf3df94d3468e9208e60c3 (diff)
+ debian/patches/pflocal-port-leak.patch: Likewise.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/pflocal-port-leak.patch48
2 files changed, 1 insertions, 48 deletions
diff --git a/debian/changelog b/debian/changelog
index d0ea59a7..fbfcccfb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ hurd (20080921-1) UNRELEASED; urgency=low
+ debian/patches/libpthread_pthreadtypes_h.patch: Likewise.
+ debian/patches/libpthread_spin-lock-inline.patch: Likewise.
+ debian/patches/lock-memory-clobber.patch: Likewise.
+ + debian/patches/pflocal-port-leak.patch: Likewise.
* debian/hurd.postinst: Install w and ps alternatives links in /bin, not
/usr/bin.
diff --git a/debian/patches/pflocal-port-leak.patch b/debian/patches/pflocal-port-leak.patch
deleted file mode 100644
index 7b9f8c86..00000000
--- a/debian/patches/pflocal-port-leak.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-2008-07-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
-
- * pf.c (S_socket_fabricate_address): Drop one reference from addr since
- we only take the send right.
- * socket.c (S_socket_name): Likewise.
-
-Index: pflocal/pf.c
-===================================================================
-RCS file: /cvsroot/hurd/hurd/pflocal/pf.c,v
-retrieving revision 1.15
-diff -u -p -r1.15 pf.c
---- pflocal/pf.c 9 Aug 2000 21:13:53 -0000 1.15
-+++ pflocal/pf.c 22 Jul 2008 00:54:47 -0000
-@@ -108,6 +108,7 @@ S_socket_fabricate_address (mach_port_t
-
- *addr_port = ports_get_right (addr);
- *addr_port_type = MACH_MSG_TYPE_MAKE_SEND;
-+ ports_port_deref (addr);
-
- return 0;
- }
-Index: pflocal/socket.c
-===================================================================
-RCS file: /cvsroot/hurd/hurd/pflocal/socket.c,v
-retrieving revision 1.24
-diff -u -p -r1.24 socket.c
---- pflocal/socket.c 29 Aug 2005 09:41:21 -0000 1.24
-+++ pflocal/socket.c 22 Jul 2008 00:54:47 -0000
-@@ -245,6 +245,7 @@ S_socket_name (struct sock_user *user,
-
- *addr_port = ports_get_right (addr);
- *addr_port_type = MACH_MSG_TYPE_MAKE_SEND;
-+ ports_port_deref (addr);
-
- return 0;
- }
-@@ -323,7 +324,10 @@ S_socket_send (struct sock_user *user, s
- source_addr, data, data_len,
- control, control_len, ports, num_ports,
- amount);
-- pipe_release_writer (pipe);
-+ if (dest_sock)
-+ pipe_release_reader (pipe);
-+ else
-+ pipe_release_writer (pipe);
- }
-
- if (err)