]> git.ipfire.org Git - thirdparty/kmod.git/blame - NEWS
libkmod: Fix getting param with no value from kcmdline
[thirdparty/kmod.git] / NEWS
CommitLineData
b3e19ce9
LDM
1kmod 15
2=======
3
4- Bug fixes:
5 - kmod static-nodes doesn't fail if modules.devname isn't available
6
7- New features:
8 - kmod static-nodes creates parent directories if given a -o option
ac6573aa 9 - kmod binary statically link to libkmod
b3e19ce9 10
3b38c7fc
LDM
11kmod 14
12=======
13
14- Bug fixes:
15 - Fix some format strings
16 - Protect against NULL being passed around to index
17 - Avoid calling syscall() with -1 when finit_module() is not available,
18 since this doesn't always work
19 - Fix not being able to remove alias due to checking the module's
20 refcount
21 - Minor fixes and refactors
22
23- New features:
24 - Improve libkmod documentation, particularly on how flags are dealt
25 with.
26 - Remove ability to build a static libkmod
27 - Add static-nodes command to kmod that parses modules.devname
28 generating output in useful formats
29
abb910eb
LDM
30kmod 13
31=======
32
33- Bug fixes:
34 - Add the long option --symbol-prefix option to depmod (it was absent)
35 and fix its behavior
36 - Don't abort if there's a bogus line in configuration file like "alias
37 psmouse off". Some distros are carrying this since the days of
38 modutils
39
40- New features:
41 - Add support for finit_module(2). If the module is load straight from
42 the disk and without compression we use finit_module() syscall when
43 available, falling back to init_module() otherwise
44 - kmod_module_get_info() also returns the signature if the module is
45 signed and modinfo uses it
46 - Use secure_getenv if available
47 - rmmod understands builtin modules, just like modprobe does
48 - Improve compatibility with musl-libc
49 - Test cases exit with success when receiving a signal if they are
50 xfail tests
51
6feba028
LDM
52kmod 12
53=======
54
55- Bug fixes:
56 - Fix removing vermagic from module when told to force load a module
57 - Fix removing __versions section when told to force load a module: we
58 need to mangle the section header, not the section.
59 - modinfo no longer fails while loading a module from file when path
60 contains ".ko" substring
61
c599606f
LDM
62kmod 11
63=======
64
65- Improvements to testsuite:
66 - Fix testsuite defining symbols twice on 32 bit systems
67 - Allow to check generated files against correct ones
68
69- New features:
70 - libkmod now keeps a file opened after the first call to
71 kmod_module_get_{info,versions,symbols,dependency_symbols}. This
72 reduces signficantly the amount of time depmod tool takes to
73 execute. Particularly if compressed modules are used.
74 - Remove --with-rootprefix from build system. It was not a great idea
75 after all and should not be use since it causes more harm then
76 benefits.
77 - Hide --wait option on rmmod. This feature is being targeted for
78 removal from kernel. rmmod still accepts this option, but it's hidden
79 now: man page and usage() says nothing about it and if it's used,
80 user will get a 10s sleep. This way we can check and help if anyone
81 is using this feature.
82 - Refactor message logging on all tools, giving proper prefix, routing
83 everything to syslog when asked for, etc.
84
85- Bug fixes:
86 - Fix parsing of modules.order when using compressed modules
87 - Usage messages go to stdout instead of stderr
88 - Fix memory leak in hash implementation
89
40758602
LDM
90kmod 10
91=======
92
93- New features:
94 - Read coresize from /sys if supported
95
a7fbae03
JE
96 - Add flag to kmod_module_probe_insert() to apply blacklisting during
97 probe only if mod is an alias. Now modprobe uses this flag by default.
40758602 98 This is needed to fix a change in behavior regarding module-init-tools
a7fbae03 99 and ultimately makes us loading a blacklisted module.
40758602
LDM
100
101- Better formatting in man pages
102
a7fbae03 103- Add option to disable building man pages at build time
40758602 104
a7fbae03 105- Fixes in the testsuite and refactoring of LDPRELOAD'ed libraries
40758602
LDM
106
107- Re-licensing testsuite as LGPL
108
62081c0f
LDM
109kmod 9
110======
111
a7fbae03 112- Improvements to the testsuite:
62081c0f
LDM
113 - Check for correct handling of softdep loops
114 - Check for correct handling of install command loops
115
116- Bug fixes:
117 - Fix build with compilers that don't support --gc-sections
a7fbae03
JE
118 - Handle errors when dealing with gzipped modules
119 - depmod now handles errors while writing indices, so it doesn't end up
120 with a corrupted index without telling the user
62081c0f 121
46684bc2
LDM
122kmod 8
123======
124
125- No new features, small bug fixes only.
a7fbae03 126 - Fix a bug in "modprobe -c" output: be compatible with
46684bc2
LDM
127 module-init-tools
128
a7fbae03
JE
129 - Give a useful error message when init_module fails due to bad
130 parameter or unknown symbols
46684bc2
LDM
131
132 - Fix doc generation
133
8885ced0
LDM
134kmod 7
135======
136
137- Re-order dirs for configuration files to match the change in systemd and
138 udev: now the priority is:
139 1. /etc/modprobe.d
140 2. /run/modprobe.d
141 3. /lib/modprobe.d
142
a7fbae03
JE
143- Fix setting CFLAGS/LDFLAGS in build system. This prevented us from not
144 allowing the user to set his preferences.
8885ced0
LDM
145
146- Bug fixes:
147 - Return same error codes of module-init-tools when removing modules
148 with modprobe
149 - Fix builtin output in "--show-depends" when target kernel is not the
150 same of the running kernel
151 - 'modprobe -r' always look at all command line arguments
152 - Fix '-q' usage in modprobe
8885ced0 153
26906fe7
LDM
154kmod 6
155======
156
157- New API in libkmod:
158 - kmod_module_apply_filter(): a generic function to apply filters in a
159 list of modules. This deprecates the use of
160 kmod_module_get_filtered_blacklist()
161
162- More tests in testsuite
163
164- Add compatibility with uClibc again
165
166- Lookup modules.builtin.bin to decide if a module is built in kernel
167
168- Downgrade some log messages so we don't annoy people with useless messages
169
170- Bug fixes:
171 - Flag --ignore-loaded was not being properly handled
172 - Infinite loop with softdeps
173 - Infinite loop with dumb user configuration with install commands
174 - Fix leak in index when there's a partial match
175
176- Move repository and tarballs to kernel.org
177
e479598b
LDM
178kmod 5
179======
180
181- Break libkmod's API to insert a module like modprobe does. It now accepts
182 extra an extra argument to print its action and acceptable flags were
183 sanitized.
184
185- Share more code between modprobe and libkmod: using the new version of
186 kmod_module_probe_insert_module() it's possible to share a great amount of
187 code between modprobe and libkmod
188
189- modprobe no longer works with paths: it only accepts module names and/or
190 aliases now.
191
192- testsuite was added to repository, allowing automated tests to be run and
193 easing the way bugs are reproduced.
194
195- modprobe: when dumping configuration ('-c' option) separate config
196 and indexes by adding a commented line between them.
197
198- Fix bugs wrt normalizing aliases and module names
199
200- Fix bug wrt inserting an alias that resolves to multiple modules: we should
201 not stop on the first error, but rather continue to try loading other
202 modules.
203
204- Fix unaligned memory access in hash function, causing depmod to output wrong
205 information in ARMv5
206
207- Fix man page build and install: now they are only installed if tools are
208 enabled
209
b53b7e32
LDM
210kmod 4
211======
212
213- New APIs in libkmod to:
214 - Get configuration lists: blacklists, install commands, remove
215 commands, aliases, options and softdeps
216 - Dump indexes
217
218- Several bugs fixed in libkmod, modprobe, depmod and modinfo
219
220- API documentation: if configure with run with --enable-gtk-doc, the API doc
221 will be generated by make. Gtk-doc is required for that.
222
223- Man pages are built, which replace man pages from module-init-tools
224
225- 'include' and 'config' options in *.conf files were deprecated
226
227- configure is not run by autogen.sh. Instead, a common set of options is
228 printed. If you are hacking on kmod, consider using bootstrap-configure
229 script.
230
231- 'modprobe -c' works as expected now. As opposed to module-init-tools, it
232 dumps the parsed configuration, not only the file contents.
233
b30a71b8
LDM
234kmod 3
235======
236
237- New APIs in libkmod to:
238 - Get symbols from module, parsing the ELF section
239 - Get dependency symbols
240 - Check if resources are still valid or if libkmod must be reloaded
241 - Insert module like modprobe, checking (soft-)dependencies, commands,
242 blacklist. It can run commands by itself and to call a callback
243 function.
244
245- Support to load modules compressed with xz
246
247- Tools are now bundled together in a single tool called kmod. It can be
248 called using symlinks with the same names as tools from module-init-tools.
249 E.g: /usr/bin/lsmod -> /usr/bin/kmod. With this we are aiming to complete a
250 1:1 replacement of module-init-tools.
251
252- The only missing tool, depmod, was added to kmod together with the necessary
253 APIs in libkmod.
254
255- If a program using libkmod runs for a long time, as for example udev, it must
256 check if it doesn't have to re-load libkmod. A new helper function was added
257 in libkmod to check if context is still valid and udev is already using it.
258
259- An 'unaligned access' bug was fixed. So those architecture that does not
260 handle unaligned access can use kmod, too.
261
acc18b14
LDM
262kmod 2
263======
264
265Some bugs fixed: the worst of them was with an infinite loop when an alias
266matched more than one module.
267
268- New APIs in libkmod to:
269 - Get soft dependencies
270 - Get info from module files parsing ELF
271 - Get modversions from files parsing ELF
272
273- Support to load gzipped kernel modules: kmod can be compiled with support to
274 gzipped modules by giving the --enable-zlib flag
275
276- Support to forcefully load modules, both vermagic and modversion
277
278- Support to force and nowait removal flags
279
280- Configuration files are parsed in the same order as modprobe: files are
281 sorted alphabetically (independently of their dir) and files with the same
282 name obey a precedence order
283
284- New tool: kmod-modinfo
285
286- kmod-modprobe gained several features to be a 1:1 replacement for modprobe.
287 The only missing things are the options '--showconfig' and '-t / -l'. These
288 last ones have been deprecated long ago and they will be removed from
289 modprobe. A lot of effort has been put on kmod-modprobe to ensure it
290 maintains compabitility with modprobe.
291
292- linux-modules@vger.kernel.org became the official mailing list for kmod
293
89eba7cb
LDM
294kmod 1
295======
ecd40ee4 296
89eba7cb
LDM
297First version of kmod and its library, libkmod.
298
299In the libkmod it's currently possible to:
300 - List modules currently loaded
301 - Get information about loaded modules such as initstate, refcount,
302 holders, sections, address and size
303 - Lookup modules by alias, module name or path
304 - Insert modules: options from configuration and extra options can be
305 passed, but flags are not implemented, yet
306 - Remove modules
307 - Filter list of modules using blacklist
308 - For each module, get the its list of options and install/remove
309 commands
310 - Indexes can be loaded on startup to speedup lookups later
311
312Tools provided with the same set of options as in module-init-tools:
313 - kmod-lsmod
314 - kmod-insmod
315 - kmod-rmmod
316 - kmod-modprobe, with some functionality still missing (use of softdep,
317 dump configuration, show modversions)