User: Password:
Subscribe / Log in / New account

kmod 18

From:  Lucas De Marchi <>
Subject:  [ANNOUNCE] kmod 18
Date:  Sat, 14 Jun 2014 15:57:16 +0000
Message-ID:  <20140614155714.GA16582@politreco>
Archive-link:  Article

kmod 18 is out:

Small fixes to libkmod, tools and testsuite. The biggest visible change is in
depmod, that now fails if dependency loops are present.

- Bug fixes:
	- Fix leaks in error paths
	- Fix use-after-free in hash implementation causing a wrong index to be
	  generated by depmod with out-of-tree modules

- New features:
	- Calling depmod with modules creating a dependency loop will now make
	  depmod return an error and not update the indexes. This is to protect
	  the current index not being overridden by another index that may cause
	  a boot failure, depending on the buggy module. It's a necessary
	  change in behavior regarding previous kmod releases and
	  module-init-tools. The error message was also improved to output
	  the modules that caused the dependency cycle.

- Improvements to testsuite:
	- Fix and improve expected-fail test
	- Add tests for hashmap implementation

And the shortlog:

Joe Lawrence (1):
      man: fixup spacing/parens in modprobe.d(5)

Leandro Pereira (5):
      Bail out of index_mm_open() if fstat() fails
      Ensure read_long() reads the correct number of bytes from the index
      Free realnames if kmod_lookup_alias_from_alias_bin() fails
      Free abspath if kmod_module_new_from_path() fails.
      Close /sys/module/$NAME directory if opening /proc/module fails.

Lucas De Marchi (17):
      Update .travis.yml
      Add strndupa to missing.h
      Make sure there's NUL byte at the end of strndupa
      testsuite: Add module playground dir
      Add gitignore to module playground
      depmod: Make dependency loops be fatal
      depmod: Rename variable to clarify its meaning
      testsuite: add test to fail depmod on module loops
      depmod: Add better error messages when facing loops
      testsuite: Add braces
      testsuite: Fix expected_fail parsing
      testsuite: check for correct error message in detect-loop
      testsuite: separate testcases on log
      testsuite: Add assert_return
      testsuite: Add basic tests for hash implementation
      testsuite: Fix macro missing format string
      kmod 18

Lukas Anzinger (1):
      Fix use-after-free in hash implementation.

Marco d'Itri (1):
      Remove references to systemd from the bash completion file

Lucas De Marchi
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Copyright © 2014, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds