Blame NEWS

Packit Service 68b988
kmod 25
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Improvements
Packit Service 68b988
	- Add module signature to modinfo output
Packit Service 68b988
Packit Service 68b988
	- Add support for external directories in depmod: now there's a new
Packit Service 68b988
	  "external" keyword parsed by depmod when calculating the dependencies.
Packit Service 68b988
	  It allows to add modules to other directories which are not relative
Packit Service 68b988
	  to where the modules are commonly installed.  This results in
Packit Service 68b988
	  modules.dep and friends now understanding absolute paths rather than
Packit Service 68b988
	  relative paths only. For more information see depmod.d(1).
Packit Service 68b988
Packit Service 68b988
	- Add support for CONFIG_MODULE_REL_CRCS
Packit Service 68b988
Packit Service 68b988
	- Add missing documentation references in man pages
Packit Service 68b988
Packit Service 68b988
	- Handle the case in which module has a .TOC symbol already while
Packit Service 68b988
	  calculating dependencies
Packit Service 68b988
Packit Service 68b988
	- Improve testsuite and allow to use mkosi to run testsuite in different
Packit Service 68b988
	  distros
Packit Service 68b988
Packit Service 68b988
kmod 24
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Improvements:
Packit Service 68b988
	- Add more information on dependency loop
Packit Service 68b988
Packit Service 68b988
	- Sanitize use of strcpy and allow to grow from small strings on stack
Packit Service 68b988
	  (common case) to bigger strings on heap when needed
Packit Service 68b988
Packit Service 68b988
- Bug fixes
Packit Service 68b988
	- Fix wrong dependency loops being reported by depmod
Packit Service 68b988
Packit Service 68b988
	- Fix crashes when reporting dependency loops
Packit Service 68b988
Packit Service 68b988
	- Fix parsing kernel command line containing quotes
Packit Service 68b988
Packit Service 68b988
	- Fix leaks on error paths
Packit Service 68b988
Packit Service 68b988
kmod 23
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Improvements:
Packit Service 68b988
	- Don't add comment to modules.devname if it would otherwise be empty
Packit Service 68b988
	  to play nice with tools detecting empty files
Packit Service 68b988
Packit Service 68b988
	- Allow building with BSD sed, that doesn't have -E flag
Packit Service 68b988
Packit Service 68b988
	- Ignore .TOC. symbols in depmod parsing as it's for PPC64 the
Packit Service 68b988
	  equivalent of _GLOBAL_OFFSET_TABLE_
Packit Service 68b988
Packit Service 68b988
	- Teach modinfo about PKCS#7 module signatures: it doesn't add any
Packit Service 68b988
	  other info besides telling the user the module is signed since
Packit Service 68b988
	  kernel doesn't add other info on the module section
Packit Service 68b988
Packit Service 68b988
- Bug fixes
Packit Service 68b988
Packit Service 68b988
	- Fix -s and -p compat options to insmod triggering force flag
Packit Service 68b988
Packit Service 68b988
	- Fix long lines from /proc/modules not being handled correctly by
Packit Service 68b988
	  kmod_module_new_from_loaded() and kmod_module_get_size() and several
Packit Service 68b988
	  other library functions that use them
Packit Service 68b988
Packit Service 68b988
	- Fix crash on modinfo while checking for available signature of
Packit Service 68b988
	  unknown type
Packit Service 68b988
Packit Service 68b988
	- Fix documentation generation with gtk-doc
Packit Service 68b988
Packit Service 68b988
kmod 22
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Tools:
Packit Service 68b988
	- Change defaul log level for tools to WARNING rather than ERROR and update
Packit Service 68b988
	  some log levels for current messages
Packit Service 68b988
Packit Service 68b988
	- depmod doesn't fallback to uname if a bad version is passed in the command
Packit Service 68b988
	  line anymore. We just exit with an error.
Packit Service 68b988
Packit Service 68b988
	- insmod was taught the -f flag, just like in modprobe. It was previously
Packit Service 68b988
	  silently ignoring it.
Packit Service 68b988
Packit Service 68b988
- libkmod
Packit Service 68b988
	- New kmod_get_dirname() API to get the module directory set in the
Packit Service 68b988
	  context
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix return code in error path of kmod_module_insert_module(). We were
Packit Service 68b988
	  previously returning ENOSYS rather than ENOENT.
Packit Service 68b988
Packit Service 68b988
kmod 21
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- kmod tool started to learn the "insert" and "remove" commands that
Packit Service 68b988
	  are the simplified versions of the older modprobe tool.  These
Packit Service 68b988
	  commands are still work in progress so they are hidden behind a
Packit Service 68b988
	  --enable-experimental flag during build.  It should not be enabled
Packit Service 68b988
	  unless you know what you're doing.
Packit Service 68b988
	- kmod tool now prints the relevant configuration options it was built
Packit Service 68b988
	  with when the "--version" argument is passed. This helps to mitigate
Packit Service 68b988
	  problems for example when the user is trying to load a compressed
Packit Service 68b988
	  module but kmod was built without support for the compression method.
Packit Service 68b988
Packit Service 68b988
- Improvements to testsuite:
Packit Service 68b988
	- Cache built modules so it is easier to run "make check" on build
Packit Service 68b988
	  servers by distro maintainers. If kmod is configured with
Packit Service 68b988
	  --disable-test-modules the modules from cache will be used by
Packit Service 68b988
	  "make check". No changes to the tests are needed and all of them
Packit Service 68b988
	  can run fine.
Packit Service 68b988
Packit Service 68b988
kmod 20
Packit Service 68b988
=======
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Handle bogus values from ELF, making sure they don't overflow while
Packit Service 68b988
	  parsing the file
Packit Service 68b988
	- Fix leak in depmod when -b flag is passed multiple times
Packit Service 68b988
	- Multiple minor fixes from static analysis by coverity and
Packit Service 68b988
	  clang-analyze
Packit Service 68b988
	- Fix race between loading modules and checking if it's loaded in the
Packit Service 68b988
	  kernel
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- There's a change in behavior regarding builtin modules: we now only
Packit Service 68b988
	  consider as builtin those that are present in modules.builtin index.
Packit Service 68b988
	  Previously we were also checking the presence of
Packit Service 68b988
	  /sys/module/<module-name>, but this is racy and only modules that
Packit Service 68b988
	  contain parameters are the ones creating a directory in sysfs.
Packit Service 68b988
Packit Service 68b988
	  Now some commands will start to fail, e.g. "modprobe vt". Since vt
Packit Service 68b988
	  can't be compiled as a module it's not present in modules.builtin
Packit Service 68b988
	  index. Previously we would report at as builtin, but now we fail
Packit Service 68b988
	  because we couldn't find the module.
Packit Service 68b988
Packit Service 68b988
- Improvements:
Packit Service 68b988
	- Integration of gcov into the build. Currently libkmod is at ~70%
Packit Service 68b988
	  covered and tools at ~50% by tests in the testsuite. Utility
Packit Service 68b988
	  functions and structures in shared have more than 90% of coverage.
Packit Service 68b988
	- Upload build to coverity
Packit Service 68b988
Packit Service 68b988
- Improvements to testsuite:
Packit Service 68b988
	- Fix parsing return codes of init_module() calls
Packit Service 68b988
	- Add tests for utility functions in shared/
Packit Service 68b988
	- Add tests for kmod_module_remove_module()
Packit Service 68b988
	- Add playground, in which our own modules are compiled
Packit Service 68b988
	- Port all tests to use modules from module-playground instead of
Packit Service 68b988
	  copying prebuilt modules to the repository
Packit Service 68b988
	- Properly handle binaries that exit with no output
Packit Service 68b988
	- Besides comparing the output of commands, allow to copy to
Packit Service 68b988
	  stdout/stderr
Packit Service 68b988
Packit Service 68b988
kmod 19
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix missing CLOEXEC in library
Packit Service 68b988
	- Fix error message while opening kmod's index
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- Add kmod(8) man page
Packit Service 68b988
	- Allow to build with libc's without be32toh()
Packit Service 68b988
	- Move code around separating common code and data structures into a
Packit Service 68b988
	  shared directory. This allows to share more code between library and
Packit Service 68b988
	  tools, making the binary size of tools smaller.
Packit Service 68b988
	- Clarify tools vs library licenses
Packit Service 68b988
	- static-nodes: when writing in tmpfiles format, indicate that
Packit Service 68b988
	  creation of static nodes should only happen at boot. This is used and
Packit Service 68b988
	  required by systemd-217+.
Packit Service 68b988
Packit Service 68b988
- Improvements to testsuite:
Packit Service 68b988
	- Add tests for newly created shared/ code
Packit Service 68b988
	- Improve how tests are declared so there's less boilerplate code for
Packit Service 68b988
	  each test.
Packit Service 68b988
Packit Service 68b988
kmod 18
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix leaks in error paths
Packit Service 68b988
	- Fix use-after-free in hash implementation causing a wrong index to be
Packit Service 68b988
	  generated by depmod with out-of-tree modules
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- Calling depmod with modules creating a dependency loop will now make
Packit Service 68b988
	  depmod return an error and not update the indexes. This is to protect
Packit Service 68b988
	  the current index not being overridden by another index that may cause
Packit Service 68b988
	  a boot failure, depending on the buggy module. It's a necessary
Packit Service 68b988
	  change in behavior regarding previous kmod releases and
Packit Service 68b988
	  module-init-tools. The error message was also improved to output
Packit Service 68b988
	  the modules that caused the dependency cycle.
Packit Service 68b988
Packit Service 68b988
- Improvements to testsuite:
Packit Service 68b988
	- Fix and improve expected-fail test
Packit Service 68b988
	- Add tests for hashmap implementation
Packit Service 68b988
Packit Service 68b988
kmod 17
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix matching a "." in kernel cmdline, making garbage in the command
Packit Service 68b988
	  line be parsed as kmod options
Packit Service 68b988
	- Fix man pages to clarify we don't fallback to parsing modules.dep
Packit Service 68b988
	  but instead we depend on modules.dep.bin (generated by depmod) to
Packit Service 68b988
	  be present
Packit Service 68b988
	- Fix ELF parsing on 32 bit systems assigning the wrong class.
Packit Service 68b988
	- Fix partial matches of search directives in depmod. Previously having
Packit Service 68b988
	  a line in depmod.conf such as "search foo foobar built-in" would cause
Packit Service 68b988
	  unpretictable results because foo is a partial match of foobar as well.
Packit Service 68b988
	- Fix unaligned access in modinfo when getting the signature from a
Packit Service 68b988
	  module
Packit Service 68b988
	- Make sure softdeps are treated as optional dependencies
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- Accept special files given to "-C" switch in modprobe. This way it's
Packit Service 68b988
	  possible to skip system configuration with "modprobe -C /dev/null"
Packit Service 68b988
	- Do not require xsltproc on released tarballs
Packit Service 68b988
	- Don't use Werror anymore
Packit Service 68b988
	- Add experimental python bindings, merged from python-kmod repository
Packit Service 68b988
	  (https://github.com/agrover/python-kmod)
Packit Service 68b988
	- Parse softdeps exported by the kernel as
Packit Service 68b988
	  /lib/modules/`uname -r`/modules.softdep
Packit Service 68b988
Packit Service 68b988
- Improvements to testsuite:
Packit Service 68b988
	- Check the list of loaded modules after a test
Packit Service 68b988
Packit Service 68b988
kmod 16
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix usage of readdir_r()
Packit Service 68b988
	- Add some missing checks for memory allocation errors
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- Remove option from libkmod to allow waiting on module removal if
Packit Service 68b988
	  the module is being used. It's dangerous since it can block the
Packit Service 68b988
	  caller indefinitely.
Packit Service 68b988
	- Improve compatibility with musl libc
Packit Service 68b988
	- Add fallback implementation for compilers without _Static_assert(),
Packit Service 68b988
	  e.g. gcc < 4.6
Packit Service 68b988
	- Minor optimizations to the hash table
Packit Service 68b988
	- Make depmod warn if a module has incorrect devname specification
Packit Service 68b988
	- Use cleanup attribute
Packit Service 68b988
Packit Service 68b988
kmod 15
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- kmod static-nodes doesn't fail if modules.devname isn't available
Packit Service 68b988
	- Fix getting boolean parameter from kernel cmdline in case the value
Packit Service 68b988
	  is omitted
Packit Service 68b988
	- Fix some mkdir_p() corner cases (used in testsuite and static-nodes)
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- kmod static-nodes creates parent directories if given a -o option
Packit Service 68b988
	- kmod binary statically links to libkmod - if distro is only interested
Packit Service 68b988
	  in the kmod tool (for example in an initrd) it can refrain from
Packit Service 68b988
	  installing the library
Packit Service 68b988
	- Add shell completion for kmod tool
Packit Service 68b988
Packit Service 68b988
kmod 14
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix some format strings
Packit Service 68b988
	- Protect against NULL being passed around to index
Packit Service 68b988
	- Avoid calling syscall() with -1 when finit_module() is not available,
Packit Service 68b988
	  since this doesn't always work
Packit Service 68b988
	- Fix not being able to remove alias due to checking the module's
Packit Service 68b988
	  refcount
Packit Service 68b988
	- Minor fixes and refactors
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- Improve libkmod documentation, particularly on how flags are dealt
Packit Service 68b988
	  with.
Packit Service 68b988
	- Remove ability to build a static libkmod
Packit Service 68b988
	- Add static-nodes command to kmod that parses modules.devname
Packit Service 68b988
	  generating output in useful formats
Packit Service 68b988
Packit Service 68b988
kmod 13
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Add the long option --symbol-prefix option to depmod (it was absent)
Packit Service 68b988
	  and fix its behavior
Packit Service 68b988
	- Don't abort if there's a bogus line in configuration file like "alias
Packit Service 68b988
	  psmouse off". Some distros are carrying this since the days of
Packit Service 68b988
	  modutils
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- Add support for finit_module(2). If the module is load straight from
Packit Service 68b988
	  the disk and without compression we use finit_module() syscall when
Packit Service 68b988
	  available, falling back to init_module() otherwise
Packit Service 68b988
	- kmod_module_get_info() also returns the signature if the module is
Packit Service 68b988
	  signed and modinfo uses it
Packit Service 68b988
	- Use secure_getenv if available
Packit Service 68b988
	- rmmod understands builtin modules, just like modprobe does
Packit Service 68b988
	- Improve compatibility with musl-libc
Packit Service 68b988
	- Test cases exit with success when receiving a signal if they are
Packit Service 68b988
	  xfail tests
Packit Service 68b988
Packit Service 68b988
kmod 12
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix removing vermagic from module when told to force load a module
Packit Service 68b988
	- Fix removing __versions section when told to force load a module: we
Packit Service 68b988
	  need to mangle the section header, not the section.
Packit Service 68b988
	- modinfo no longer fails while loading a module from file when path
Packit Service 68b988
	  contains ".ko" substring
Packit Service 68b988
Packit Service 68b988
kmod 11
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- Improvements to testsuite:
Packit Service 68b988
	- Fix testsuite defining symbols twice on 32 bit systems
Packit Service 68b988
	- Allow to check generated files against correct ones
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- libkmod now keeps a file opened after the first call to
Packit Service 68b988
	  kmod_module_get_{info,versions,symbols,dependency_symbols}. This
Packit Service 68b988
	  reduces signficantly the amount of time depmod tool takes to
Packit Service 68b988
	  execute. Particularly if compressed modules are used.
Packit Service 68b988
	- Remove --with-rootprefix from build system. It was not a great idea
Packit Service 68b988
	  after all and should not be use since it causes more harm then
Packit Service 68b988
	  benefits.
Packit Service 68b988
	- Hide --wait option on rmmod. This feature is being targeted for
Packit Service 68b988
	  removal from kernel. rmmod still accepts this option, but it's hidden
Packit Service 68b988
	  now: man page and usage() say nothing about it and if it's used,
Packit Service 68b988
	  user will get a 10s sleep. This way we can check and help if anyone
Packit Service 68b988
	  is using this feature.
Packit Service 68b988
	- Refactor message logging on all tools, giving proper prefix, routing
Packit Service 68b988
	  everything to syslog when asked for, etc.
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix parsing of modules.order when using compressed modules
Packit Service 68b988
	- Usage messages go to stdout instead of stderr
Packit Service 68b988
	- Fix memory leak in hash implementation
Packit Service 68b988
Packit Service 68b988
kmod 10
Packit Service 68b988
=======
Packit Service 68b988
Packit Service 68b988
- New features:
Packit Service 68b988
	- Read coresize from /sys if supported
Packit Service 68b988
Packit Service 68b988
	- Add flag to kmod_module_probe_insert() to apply blacklisting during
Packit Service 68b988
	  probe only if mod is an alias. Now modprobe uses this flag by default.
Packit Service 68b988
	  This is needed to fix a change in behavior regarding module-init-tools
Packit Service 68b988
	  and ultimately makes us loading a blacklisted module.
Packit Service 68b988
Packit Service 68b988
- Better formatting in man pages
Packit Service 68b988
Packit Service 68b988
- Add option to disable building man pages at build time
Packit Service 68b988
Packit Service 68b988
- Fixes in the testsuite and refactoring of LDPRELOAD'ed libraries
Packit Service 68b988
Packit Service 68b988
- Re-licensing testsuite as LGPL
Packit Service 68b988
Packit Service 68b988
kmod 9
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
- Improvements to the testsuite:
Packit Service 68b988
	- Check for correct handling of softdep loops
Packit Service 68b988
	- Check for correct handling of install command loops
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Fix build with compilers that don't support --gc-sections
Packit Service 68b988
	- Handle errors when dealing with gzipped modules
Packit Service 68b988
	- depmod now handles errors while writing indices, so it doesn't end up
Packit Service 68b988
	  with a corrupted index without telling the user
Packit Service 68b988
Packit Service 68b988
kmod 8
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
- No new features, small bug fixes only.
Packit Service 68b988
	- Fix a bug in "modprobe -c" output: be compatible with
Packit Service 68b988
	  module-init-tools
Packit Service 68b988
Packit Service 68b988
	- Give a useful error message when init_module fails due to bad
Packit Service 68b988
	  parameter or unknown symbols
Packit Service 68b988
Packit Service 68b988
	- Fix doc generation
Packit Service 68b988
Packit Service 68b988
kmod 7
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
- Re-order dirs for configuration files to match the change in systemd and
Packit Service 68b988
  udev: now the priority is:
Packit Service 68b988
	1. /etc/modprobe.d
Packit Service 68b988
	2. /run/modprobe.d
Packit Service 68b988
	3. /lib/modprobe.d
Packit Service 68b988
Packit Service 68b988
- Fix setting CFLAGS/LDFLAGS in build system. This prevented us from not
Packit Service 68b988
  allowing the user to set his preferences.
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Return same error codes of module-init-tools when removing modules
Packit Service 68b988
	  with modprobe
Packit Service 68b988
	- Fix builtin output in "--show-depends" when target kernel is not the
Packit Service 68b988
	  same of the running kernel
Packit Service 68b988
	- 'modprobe -r' always look at all command line arguments
Packit Service 68b988
	- Fix '-q' usage in modprobe
Packit Service 68b988
Packit Service 68b988
kmod 6
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
- New API in libkmod:
Packit Service 68b988
	- kmod_module_apply_filter(): a generic function to apply filters in a
Packit Service 68b988
	  list of modules. This deprecates the use of
Packit Service 68b988
	  kmod_module_get_filtered_blacklist()
Packit Service 68b988
Packit Service 68b988
- More tests in testsuite
Packit Service 68b988
Packit Service 68b988
- Add compatibility with uClibc again
Packit Service 68b988
Packit Service 68b988
- Lookup modules.builtin.bin to decide if a module is built in kernel
Packit Service 68b988
Packit Service 68b988
- Downgrade some log messages so we don't annoy people with useless messages
Packit Service 68b988
Packit Service 68b988
- Bug fixes:
Packit Service 68b988
	- Flag --ignore-loaded was not being properly handled
Packit Service 68b988
	- Infinite loop with softdeps
Packit Service 68b988
	- Infinite loop with dumb user configuration with install commands
Packit Service 68b988
	- Fix leak in index when there's a partial match
Packit Service 68b988
Packit Service 68b988
- Move repository and tarballs to kernel.org
Packit Service 68b988
Packit Service 68b988
kmod 5
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
- Break libkmod's API to insert a module like modprobe does. It now accepts
Packit Service 68b988
  extra an extra argument to print its action and acceptable flags were
Packit Service 68b988
  sanitized.
Packit Service 68b988
Packit Service 68b988
- Share more code between modprobe and libkmod: using the new version of
Packit Service 68b988
  kmod_module_probe_insert_module() it's possible to share a great amount of
Packit Service 68b988
  code between modprobe and libkmod
Packit Service 68b988
Packit Service 68b988
- modprobe no longer works with paths: it only accepts module names and/or
Packit Service 68b988
  aliases now.
Packit Service 68b988
Packit Service 68b988
- testsuite was added to repository, allowing automated tests to be run and
Packit Service 68b988
  easing the way bugs are reproduced.
Packit Service 68b988
Packit Service 68b988
- modprobe: when dumping configuration ('-c' option) separate config
Packit Service 68b988
  and indexes by adding a commented line between them.
Packit Service 68b988
Packit Service 68b988
- Fix bugs wrt normalizing aliases and module names
Packit Service 68b988
Packit Service 68b988
- Fix bug wrt inserting an alias that resolves to multiple modules: we should
Packit Service 68b988
  not stop on the first error, but rather continue to try loading other
Packit Service 68b988
  modules.
Packit Service 68b988
Packit Service 68b988
- Fix unaligned memory access in hash function, causing depmod to output wrong
Packit Service 68b988
  information in ARMv5
Packit Service 68b988
Packit Service 68b988
- Fix man page build and install: now they are only installed if tools are
Packit Service 68b988
  enabled
Packit Service 68b988
Packit Service 68b988
kmod 4
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
- New APIs in libkmod to:
Packit Service 68b988
	- Get configuration lists: blacklists, install commands, remove
Packit Service 68b988
	  commands, aliases, options and softdeps
Packit Service 68b988
	- Dump indexes
Packit Service 68b988
Packit Service 68b988
- Several bugs fixed in libkmod, modprobe, depmod and modinfo
Packit Service 68b988
Packit Service 68b988
- API documentation: if configure with run with --enable-gtk-doc, the API doc
Packit Service 68b988
  will be generated by make. Gtk-doc is required for that.
Packit Service 68b988
Packit Service 68b988
- Man pages are built, which replace man pages from module-init-tools
Packit Service 68b988
Packit Service 68b988
- 'include' and 'config' options in *.conf files were deprecated
Packit Service 68b988
Packit Service 68b988
- configure is not run by autogen.sh. Instead, a common set of options is
Packit Service 68b988
  printed. If you are hacking on kmod, consider using bootstrap-configure
Packit Service 68b988
  script.
Packit Service 68b988
Packit Service 68b988
- 'modprobe -c' works as expected now. As opposed to module-init-tools, it
Packit Service 68b988
  dumps the parsed configuration, not only the file contents.
Packit Service 68b988
Packit Service 68b988
kmod 3
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
- New APIs in libkmod to:
Packit Service 68b988
	- Get symbols from module, parsing the ELF section
Packit Service 68b988
	- Get dependency symbols
Packit Service 68b988
	- Check if resources are still valid or if libkmod must be reloaded
Packit Service 68b988
	- Insert module like modprobe, checking (soft-)dependencies, commands,
Packit Service 68b988
	  blacklist. It can run commands by itself and to call a callback
Packit Service 68b988
	  function.
Packit Service 68b988
Packit Service 68b988
- Support to load modules compressed with xz
Packit Service 68b988
Packit Service 68b988
- Tools are now bundled together in a single tool called kmod. It can be
Packit Service 68b988
  called using symlinks with the same names as tools from module-init-tools.
Packit Service 68b988
  E.g: /usr/bin/lsmod -> /usr/bin/kmod. With this we are aiming to complete a
Packit Service 68b988
  1:1 replacement of module-init-tools.
Packit Service 68b988
Packit Service 68b988
- The only missing tool, depmod, was added to kmod together with the necessary
Packit Service 68b988
  APIs in libkmod.
Packit Service 68b988
Packit Service 68b988
- If a program using libkmod runs for a long time, as for example udev, it must
Packit Service 68b988
  check if it doesn't have to re-load libkmod. A new helper function was added
Packit Service 68b988
  in libkmod to check if context is still valid and udev is already using it.
Packit Service 68b988
Packit Service 68b988
- An 'unaligned access' bug was fixed. So those architecture that does not
Packit Service 68b988
  handle unaligned access can use kmod, too.
Packit Service 68b988
Packit Service 68b988
kmod 2
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
Some bugs fixed: the worst of them was with an infinite loop when an alias
Packit Service 68b988
matched more than one module.
Packit Service 68b988
Packit Service 68b988
- New APIs in libkmod to:
Packit Service 68b988
	- Get soft dependencies
Packit Service 68b988
	- Get info from module files parsing ELF
Packit Service 68b988
	- Get modversions from files parsing ELF
Packit Service 68b988
Packit Service 68b988
- Support to load gzipped kernel modules: kmod can be compiled with support to
Packit Service 68b988
  gzipped modules by giving the --enable-zlib flag
Packit Service 68b988
Packit Service 68b988
- Support to forcefully load modules, both vermagic and modversion
Packit Service 68b988
Packit Service 68b988
- Support to force and nowait removal flags
Packit Service 68b988
Packit Service 68b988
- Configuration files are parsed in the same order as modprobe: files are
Packit Service 68b988
  sorted alphabetically (independently of their dir) and files with the same
Packit Service 68b988
  name obey a precedence order
Packit Service 68b988
Packit Service 68b988
- New tool: kmod-modinfo
Packit Service 68b988
Packit Service 68b988
- kmod-modprobe gained several features to be a 1:1 replacement for modprobe.
Packit Service 68b988
  The only missing things are the options '--showconfig' and '-t / -l'. These
Packit Service 68b988
  last ones have been deprecated long ago and they will be removed from
Packit Service 68b988
  modprobe. A lot of effort has been put on kmod-modprobe to ensure it
Packit Service 68b988
  maintains compabitility with modprobe.
Packit Service 68b988
Packit Service 68b988
- linux-modules@vger.kernel.org became the official mailing list for kmod
Packit Service 68b988
Packit Service 68b988
kmod 1
Packit Service 68b988
======
Packit Service 68b988
Packit Service 68b988
First version of kmod and its library, libkmod.
Packit Service 68b988
Packit Service 68b988
In the libkmod it's currently possible to:
Packit Service 68b988
	- List modules currently loaded
Packit Service 68b988
	- Get information about loaded modules such as initstate, refcount,
Packit Service 68b988
	  holders, sections, address and size
Packit Service 68b988
	- Lookup modules by alias, module name or path
Packit Service 68b988
	- Insert modules: options from configuration and extra options can be
Packit Service 68b988
	  passed, but flags are not implemented, yet
Packit Service 68b988
	- Remove modules
Packit Service 68b988
	- Filter list of modules using blacklist
Packit Service 68b988
	- For each module, get the its list of options and install/remove
Packit Service 68b988
	  commands
Packit Service 68b988
	- Indexes can be loaded on startup to speedup lookups later
Packit Service 68b988
Packit Service 68b988
Tools provided with the same set of options as in module-init-tools:
Packit Service 68b988
	- kmod-lsmod
Packit Service 68b988
	- kmod-insmod
Packit Service 68b988
	- kmod-rmmod
Packit Service 68b988
	- kmod-modprobe, with some functionality still missing (use of softdep,
Packit Service 68b988
	  dump configuration, show modversions)