aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-01 13:59:02 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-01 13:59:02 +0000
commit0fad70221cbeca03bfc650462a1cd6f18e693611 (patch)
tree001a4fb9193bbc9f3164462274a10432c307fae1
parentaf5c6cb5437b1753c45588a4dd51b484ed3a7bbf (diff)
downloadmdevd-0fad70221cbeca03bfc650462a1cd6f18e693611.tar.gz
Prepare for 0.1.8.1; save/restore errno in safe wrappers
-rw-r--r--COPYING2
-rw-r--r--INSTALL4
-rw-r--r--doc/index.html8
-rw-r--r--doc/upgrade.html9
-rw-r--r--package/info2
-rw-r--r--src/mdevd/mdevd_uevent_read.c4
6 files changed, 20 insertions, 9 deletions
diff --git a/COPYING b/COPYING
index 4daf8f5..609eab6 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
-Copyright (c) 2017-2025 Laurent Bercot <ska-skaware@skarnet.org>
+Copyright (c) 2017-2026 Laurent Bercot <ska-skaware@skarnet.org>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
diff --git a/INSTALL b/INSTALL
index 472b4cd..a677916 100644
--- a/INSTALL
+++ b/INSTALL
@@ -6,9 +6,9 @@ Build Instructions
- A Linux-based system with a standard C development environment
- GNU make version 3.81 or later
- - skalibs version 2.14.5.0 or later: https://skarnet.org/software/skalibs/
+ - skalibs version 2.14.5.1 or later: https://skarnet.org/software/skalibs/
- optional: nsss version 0.2.1.1 or later: https://skarnet.org/software/nsss/
- - optional: execline version 2.9.8.0 or later: https://skarnet.org/software/execline/
+ - optional: execline version 2.9.8.1 or later: https://skarnet.org/software/execline/
This software is Linux-specific. It will run on a Linux kernel,
version 2.6.10 or later.
diff --git a/doc/index.html b/doc/index.html
index e10333b..2df511e 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -102,7 +102,7 @@ and does not pull in any unnecessary code. </li>
The Linux kernel must be 2.6.10 or later. </li>
<li> GNU make, version 3.81 or later </li>
<li> <a href="//skarnet.org/software/skalibs/">skalibs</a> version
-2.14.5.0 or later. It's a build-time requirement. It's also a run-time
+2.14.5.1 or later. It's a build-time requirement. It's also a run-time
requirement if you link against the shared version of the skalibs
library. </li>
<li> Optionally: <a href="//skarnet.org/software/execline/">nsss</a>
@@ -111,7 +111,7 @@ you use the <tt>--enable-nsss</tt> option to configure; but you would
only do that if you're replacing nsswitch on your whole system, and most
people are not. </li>
<li> Optionally: <a href="//skarnet.org/software/execline/">execline</a>
-version 2.9.8.0 or later. It's a only a run-time requirement, and only
+version 2.9.8.1 or later. It's a only a run-time requirement, and only
if your <tt>mdev.conf</tt> file contains <tt>+</tt>, <tt>-</tt> or
<tt>&amp;</tt> command directives. </li>
</ul>
@@ -127,8 +127,8 @@ if your <tt>mdev.conf</tt> file contains <tt>+</tt>, <tt>-</tt> or
<ul>
<li> The current released version of mdevd is
-<a href="mdevd-0.1.8.0.tar.gz">0.1.8.0</a>.
-You can access its checksum <a href="mdevd-0.1.8.0.tar.gz.sha256">here</a>. </li>
+<a href="mdevd-0.1.8.1.tar.gz">0.1.8.1</a>.
+You can access its checksum <a href="mdevd-0.1.8.1.tar.gz.sha256">here</a>. </li>
<li> Alternatively, you can checkout a copy of the
<a href="//git.skarnet.org/cgi-bin/cgit.cgi/mdevd/">mdevd
git repository</a>:
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 2bead5b..d344a52 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,6 +18,15 @@
<h1> What has changed in mdevd </h1>
+<h2> in 0.1.8.1 </h2>
+
+<ul>
+ <li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
+dependency bumped to 2.14.5.1. </li>
+ <li> <a href="//skarnet.org/software/execline/">execline</a>
+optional dependency bumped to 2.9.8.1. </li>
+</ul>
+
<h2> in 0.1.8.0 </h2>
<ul>
diff --git a/package/info b/package/info
index e621f16..245910e 100644
--- a/package/info
+++ b/package/info
@@ -1,4 +1,4 @@
package=mdevd
-version=0.1.8.0
+version=0.1.8.1
category=admin
package_macro_name=MDEVD
diff --git a/src/mdevd/mdevd_uevent_read.c b/src/mdevd/mdevd_uevent_read.c
index 38be5ea..9a395dc 100644
--- a/src/mdevd/mdevd_uevent_read.c
+++ b/src/mdevd/mdevd_uevent_read.c
@@ -18,9 +18,11 @@
static inline ssize_t fd_recvmsg (int fd, struct msghdr *hdr)
{
+ int e = errno ;
ssize_t r ;
do r = recvmsg(fd, hdr, 0) ;
- while ((r == -1) && (errno == EINTR)) ;
+ while (r == -1 && errno == EINTR) ;
+ if (r >= 0) errno = e ;
return r ;
}