summaryrefslogtreecommitdiff
path: root/libmodprobe/libmodprobe_ext_test.cpp
AgeCommit message (Collapse)Author
2020-06-18modprobe: Use more inclusive language for modprobe and libmodprobeMark Salyzyn
blacklist is replaced with blocklist. Test: none Bug: 151950334 Merged-In: I59f9fde5900b9aee82aca1eab4a6ded3d136063b Change-Id: I59f9fde5900b9aee82aca1eab4a6ded3d136063b
2020-06-03add libmodprobe api to query the number of modules loadedSteve Muckle
In the short term this will be used to help implement support for multiple kernel module directories but it may be useful in other contexts as well. Bug: 157645635 Change-Id: I15a252b6e9394292c8f3557ed65112c935830441 Merged-In: I15a252b6e9394292c8f3557ed65112c935830441
2019-12-27libmodprobe: parse kernel command line for module optionsSteve Muckle
Bug: 145808811 Test: atest libmodprobe_tests, verify on flame Change-Id: I0b41b1610fe13ae526d38f029da888f6f0d8a02d
2019-08-06libmodprobe: add support for a blacklistSteve Muckle
If the blacklist is enabled, blacklisted modules are treated as though they are not present. Change-Id: Ie8712f24298e78f92d5028b1ca3a8a3e07a9190a
2019-08-06libmodprobe: support parameters in LoadWithAliasesSteve Muckle
Add support to specify module parameters in LoadWithAliases. These parameters will be appended to any which are specified for the module in modules.options. Change-Id: I9aff1656ea397826f815b658b3b52c1892748601
2019-08-06libmodprobe: add support to remove modulesSteve Muckle
Add a remove method which will unload a given module from the kernel, along with any modules it depended on, assuming those modules are now unused. Change-Id: Ie66dc153ef1771f50e26421d38d3656e95954780
2019-06-18create libmodprobe, integrate into first_stage_initSteve Muckle
Modprobe functionality is required both within first stage init and also as a standalone binary. Create a library for this using and extending the logic in modalias_handler.cpp. First stage init will attempt to load modules from /lib/modules. Bug: 129780532 Change-Id: Ie3582358fd839c2f64e1b386b30ed551a86aef5d