]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
kmod 31 v31
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 29 Sep 2023 14:18:37 +0000 (09:18 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 29 Sep 2023 14:18:37 +0000 (09:18 -0500)
Makefile.am
NEWS
configure.ac

index 8ba85c91a0f39376c5c9cd7cc7190fb3059cd6a6..5b7abfe6a20e41b61150af59f41355a64a02a75e 100644 (file)
@@ -38,7 +38,7 @@ AM_LDFLAGS = $(OUR_LDFLAGS)
 # 6. If any interfaces have been removed or changed since the last public
 #    release, then set age to 0.
 LIBKMOD_CURRENT=6
-LIBKMOD_REVISION=0
+LIBKMOD_REVISION=1
 LIBKMOD_AGE=4
 
 noinst_LTLIBRARIES = shared/libshared.la
diff --git a/NEWS b/NEWS
index fe95103ba9095a4b10929890c65f8486973b5b48..00b7f6d72ae6271a3f48ca5450f504fc701963f5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,67 @@
+kmod 31
+=======
+
+- Improvements
+
+       - Allow passing a path to modprobe so the module is loaded from
+         anywhere from the filesystem, but still handling the module
+         dependencies recorded in the indexes. This is mostly intended for kernel
+         developers to speedup testing their kernel modules without having to load the
+         dependencies manually or override the module in /usr/lib/modules/.
+         Now it's possible to do:
+
+               # modprobe ./drivers/gpu/drm/i915/i915.ko
+
+         As long as the dependencies didn't change, this should do the right thing
+
+       - Use in-kernel decompression if available. This will check the runtime support
+         in the kernel for decompressing modules and use it through finit_module().
+         Previously kmod would fallback to the older init_module() when using
+         compressed modules since there wasn't a way to instruct the kernel to
+         uncompress it on load or check if the kernel supported it or not.
+         This requires a recent kernel (>= 6.4) to have that support and
+         in-kernel decompression properly working in the kernel.
+
+       - Make modprobe fallback to syslog when stderr is not available, as was
+         documented in the man page, but not implemented
+
+       - Better explaing `modprobe -r` and how it differentiates from rmmod
+
+       - depmod learned a `-o <dir>` option to allow using a separate output
+         directory. With this, it's possible to split the output files from
+         the ones used as input from the kernel build system
+
+       - Add compat with glibc >= 2.32.9000 that dropped __xstat
+
+       - Improve testsuite to stop skipping tests when sysconfdir is something
+         other than /etc
+
+       - Build system improvements and updates
+
+       - Change a few return codes from -ENOENT to -ENODATA to avoid confusing output
+         in depmod when the module itself lacks a particular ELF section due to e.g.
+         CONFIG_MODVERSIONS=n in the kernel.
+
+
+- Bug Fixes
+
+       - Fix testsuite using uninitialized memory when testing module removal
+         with --wait
+
+       - Fix testsuite not correctly overriding the stat syscall on 32-bit
+         platforms. For most architectures this was harmless, but for MIPS it
+         was causing some tests to fail.
+
+       - Fix handling unknown signature algorithm
+
+       - Fix linking with a static liblzma, libzstd or zlib
+
+       - Fix memory leak when removing module holders
+
+       - Fix out-of-bounds access when using very long paths as argument to rmmod
+
+       - Fix warnings reported by UBSan
+
 kmod 30
 =======
 
index 6064dee77ae6c39c7c964ec2678e63034e8f9cd8..82a853289a83f017278283e949cf645728c9ecae 100644 (file)
@@ -1,6 +1,6 @@
 AC_PREREQ(2.64)
 AC_INIT([kmod],
-       [30],
+       [31],
        [linux-modules@vger.kernel.org],
        [kmod],
        [http://git.kernel.org/?p=utils/kernel/kmod/kmod.git])