linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lucas De Marchi <lucas.de.marchi@gmail.com>
To: linux-modules <linux-modules@vger.kernel.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
	"Luis Chamberlain" <mcgrof@kernel.org>,
	"Adam Gołębiowski" <adamg@pld-linux.org>,
	"Dimitri John Ledkov" <dimitri.ledkov@canonical.com>,
	"Dmitry Antipov" <dmantipov@yandex.ru>,
	"Emil Velikov" <emil.l.velikov@gmail.com>,
	"Emil Velikov" <emil.velikov@collabora.com>,
	"Fabrice Fontaine" <fontaine.fabrice@gmail.com>,
	"Florian Weimer" <fweimer@redhat.com>,
	"Gustavo Sousa" <gustavo.sousa@intel.com>,
	"Jan Engelhardt" <jengelh@inai.de>,
	"Julien Cristau" <jcristau@debian.org>,
	"Mikhail Novosyolov" <m.novosyolov@rosalinux.ru>,
	"Nicolas Schier" <n.schier@avm.de>,
	"Quentin Armitage" <quentin@armitage.org.uk>,
	"Yauheni Kaliuta" <ykaliuta@redhat.com>
Subject: [ANNOUNCE] kmod 31
Date: Fri, 29 Sep 2023 09:37:14 -0500	[thread overview]
Message-ID: <lnbkvt5hhvgksgjqko7t6niw6uzr5ewjp32wyy2s26rzwdgh2y@l775iv6f6tkz> (raw)

kmod 30 is out:

         https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-31.tar.xz
         https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-31.tar.sign

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


Shortlog is below:

Adam Gołębiowski (1):
       autogen.sh: remove --with-rootprefix, it is gone since kmod-11

Dimitri John Ledkov (1):
       build: enable building & running tests from a subdir

Dmitry Antipov (3):
       libkmod, depmod: prefer -ENODATA over -ENOENT if no section found
       libkmod: fix possible out-of-bounds memory access
       shared: avoid passing {NULL, 0} array to bsearch()

Emil Velikov (10):
       depmod: Introduce outdir option
       treewide: add some static const notations
       testsuite: add function declarations for __xstat family
       testsuite/depmod: use defines for the rootfs/lib_modules
       libkmod: error out on unknown hash algorithm
       libkmod: remove unused kmod_module_get_builtin
       libkmod: annotate kmod_builtin_iter API as static
       shared: annotate local API as static
       configure: manage libkmod.pc.in and version.py.in via AC_CONFIG_FILES
       libkmod: add fallback MODULE_INIT_COMPRESSED_FILE define

Fabrice Fontaine (1):
       configure.ac: fix link with -llzma

Florian Weimer (1):
       kmod: configure.ac: In _Noreturn check, include <stdlib.h> for exit

Gustavo Sousa (3):
       testsuite: Wrap chdir()
       modprobe: Move insertion block into separate function
       modprobe: Allow passing path to module

Jan Engelhardt (1):
       testsuite: repair read of uninitialized memory

Julien Cristau (1):
       testsuite: fix override of `stat` on 32-bit architectures

Lucas De Marchi (8):
       testsuite: Move setup-rootfs logic from Makefile to script
       testsuite: Handle different sysconfdir
       libkmod: Do not inititialize file->memory on open
       libkmod: Extract finit_module vs init_module paths
       libkmod: Keep track of compression type
       libkmod: Keep track of in-kernel compression support
       libkmod: Use kernel decompression when available
       kmod 31

Mikhail Novosyolov (1):
       libkmod: do not crash on unknown signature algorithm

Nicolas Schier (1):
       modprobe: rmmod_do_module: Free kmod list of holders

Quentin Armitage (1):
       modprobe: Write error messages to syslog if stderr is unavailable

Yauheni Kaliuta (1):
       man/rmmod: explain why modprobe -r is more useful


Thank y'all for the contributions,
Lucas De Marchi

                 reply	other threads:[~2023-09-29 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=lnbkvt5hhvgksgjqko7t6niw6uzr5ewjp32wyy2s26rzwdgh2y@l775iv6f6tkz \
    --to=lucas.de.marchi@gmail.com \
    --cc=adamg@pld-linux.org \
    --cc=dimitri.ledkov@canonical.com \
    --cc=dmantipov@yandex.ru \
    --cc=emil.l.velikov@gmail.com \
    --cc=emil.velikov@collabora.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=gustavo.sousa@intel.com \
    --cc=jcristau@debian.org \
    --cc=jengelh@inai.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-modules@vger.kernel.org \
    --cc=m.novosyolov@rosalinux.ru \
    --cc=mcgrof@kernel.org \
    --cc=n.schier@avm.de \
    --cc=quentin@armitage.org.uk \
    --cc=ykaliuta@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).