[linux-kvm-x][linux-kvm-b][PATCH] enable CONFIG_MODULE_UNLOAD
Po-Hsu Lin
po-hsu.lin at canonical.com
Wed Apr 25 11:31:37 UTC 2018
== Justification ==
In the Bionic KVM and Xenial KVM kernel, the CONFIG_MODULE_UNLOAD was not set,
this will cause the rmmod command in test_072_strict_devmem test from the
kernel security test suite fail to run, and induce a failure in the
following test_140_kernel_modules_not_tainted test.
== Test ==
Before enabling the config, rmmod command will return:
"ERROR: Module signpost is in use"
After the config was enabled, rmmod will succeed and it will pass with this
test_140_kernel_modules_not_tainted test.
== Fix ==
Set CONFIG_MODULE_UNLOAD to "y" to allow user to unload a module.
== Regression Potential ==
Minimal.
No code changes, just one config change without disabling any other configs.
Po-Hsu Lin (1):
UBUNTU: kvm: [config] enable CONFIG_MODULE_UNLOAD
debian.kvm/config/config.common.ubuntu | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.7.4
More information about the kernel-team
mailing list