about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-02-28 15:22:13 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-02-28 15:36:16 +0100
commit37fb019cb02656d0ce0b8d40d56fe8c42f0d1658 (patch)
tree08df71d901ec8907c0b560c49d80e875cfcb8608 /ChangeLog
parentb31737bdf94a1d9eb4108d10c4d38241b6fe788b (diff)
downloadglibc-37fb019cb02656d0ce0b8d40d56fe8c42f0d1658.tar.gz
glibc-37fb019cb02656d0ce0b8d40d56fe8c42f0d1658.tar.xz
glibc-37fb019cb02656d0ce0b8d40d56fe8c42f0d1658.zip
sunrpc: Do not unregister services if not registered [BZ #5010]
The change in commit 718946816cf60374f9d8f674d3ed649fdb33205a
has no effect because of two bugs which cancel each other out:
The svc_is_mapped condition is inverted, and svc_is_mapped
always returns false because the check is performed after
the service has already been unregistered.  As a result,
pmap_unset is called unconditionally, as before.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 19ec5b2ec5..edccd36002 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2017-02-28  Florian Weimer  <fweimer@redhat.com>
+
+	[BZ #5010]
+	* sunrpc/svc.c (svc_is_mapped): Remove.
+	(svc_unregister): Obtain mapped status while the service is still
+	registered.
+	* sunrpc/Makefile [have-thread-library] (tests): Add
+	tst-svc_register.
+	(tst-svc_register): Link against libc.so explicitly and the thread
+	library.
+	* sunrpc/tst-svc_register.c: New file.
+
 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.