ACK: [linux-kvm-x][linux-kvm-b][PATCH] enable CONFIG_MODULE_UNLOAD

Colin Ian King colin.king at canonical.com
Wed Apr 25 11:45:55 UTC 2018


On 25/04/18 12:31, Po-Hsu Lin wrote:
> == 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(-)
> 
Unloading modules is kinda useful. :-)

for both Xenial + Bionic:

Acked-by: Colin Ian King <colin.king at canonical.com>




More information about the kernel-team mailing list