Age | Commit message (Collapse) | Author |
|
Based on original patch from Jan Engelhardt <jengelh@medozas.de> to
libabc.
|
|
It's not possible to move functions related to "live" modules to
libkmod-loaded.c because they depend on the definition of kmod_module.
Putting this structure in the private header is not a good idea, so let
all functions related to "live" information in the end of
libkmod-module.c, and move the sole function from libkmod-loaded.c to
this place. This way all functions get the right documentation
about their sections.
|
|
try to mimic original module-init-tools' modprobe as much as possible,
but this exposed some missing features in libkmod, these are now
listed in TODO.
|
|
these tools are compatible with module-init-tools (except insmod does
not take data from stdin).
|
|
This function will filter the given list against the known blacklist,
returning a new list with remaining modules with the reference
incremented.
|
|
|
|
|
|
If we create a kmod_module from a name, the path returned is relative to
the module dirname, as passed during kmod_ctx creation. Note that if
kmod_ctx is created with kmod_new(NULL), the dir used is the one
returned by uname.
|
|
|
|
Copied from libabc.
|
|
|
|
This effectively makes the combined work be GPL. All other parts of this
library are still LGPL and if this part in future becomes
double-licensed, we can switch back to LGPL.
|
|
Right now only alias keyword is treated.
|
|
Basically copied from module-init-tools
|
|
Insmod is supported only with file names yet.
|
|
Remove module without dealing with the loaded modules first.
|
|
|
|
|
|
It doesn't run with `make check' since
o It's dangerous
o It needs to be run as root
o It needs an argument, otherwise it removes the first module
with use_count==0
|
|
|
|
All the functions needed by a lsmod binary are in place.
test/test-loaded.c implements it with the same output of lsmod.
|
|
|
|
|
|
Version is only incremented upon release
|
|
|
|
|