[linux-kvm-x][PATCH] enable CONFIG_DEBUG_RODATA

Po-Hsu Lin po-hsu.lin at canonical.com
Mon May 7 06:41:03 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 ==
No code changes, just one config change without disabling any other configs.

BugLink: http://bugs.launchpad.net/bugs/1760643

Po-Hsu Lin (1):
  UBUNTU: kvm: [config] enable CONFIG_DEBUG_RODATA

 debian.kvm/config/config.common.ubuntu | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


More information about the kernel-team mailing list