summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-08 09:36:05 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-08 09:36:05 +0000
commit155f489a29ecc7d7b9b66e435739e69f40653562 (patch)
treef3dbb8010d4396df854727fc96a12fe5fddd8a66
parentb992db748b9ffe8d88d609950f5da28b5a1db135 (diff)
downloadskalibs-155f489a29ecc7d7b9b66e435739e69f40653562.tar.xz
Add mention of ipc_bind_reuse_lock() to changelog
-rw-r--r--NEWS4
-rw-r--r--doc/upgrade.html3
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 46dcfce..8823eeb 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,10 @@ In 2.9.4.0
----------
- New openc_* functions.
+ - New function: ipc_bind_reuse_lock(), taking a lock before
+unconditionally deleting the socket.
+ - ipc_bind_reuse() rewritten to use ipc_bind_reuse_lock(),
+so it does the right thing instead of clobbering sockets.
In 2.9.3.0
diff --git a/doc/upgrade.html b/doc/upgrade.html
index dac82ce..56b00c6 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -21,6 +21,9 @@
<ul>
<li> New <tt>openc_*</tt> functions, which are O_CLOEXEC versions of the
<a href="libstddjb/djbunix.html">djbunix.h</a> <tt>open_*</tt> functions. </li>
+ <li> New <tt>ipc_bind_reuse_lock()</tt> function, which takes a lock before
+deleting a Unix domain socket. The <tt>ipc_bind_reuse()</tt> function now
+uses it, so it won't unconditionally clobber sockets in the filesystem anymore. </li>
</ul>
<h2> in 2.9.3.0 </h2>