Re: [PATCH] module: check vermagic match exactly when load modules

2015-12-09 Thread Rusty Russell
Xie XiuQi writes: > Usually, checking kernel version will be ignore when loading > modules if CONFIG_MODVERSIONS option is enable. This could > potentially lead to a mismatch with the running kernel. > > With this option, we prevent to load the modules which vermagic > is not match exactly with

[PATCH] module: check vermagic match exactly when load modules

2015-12-09 Thread Xie XiuQi
Usually, checking kernel version will be ignore when loading modules if CONFIG_MODVERSIONS option is enable. This could potentially lead to a mismatch with the running kernel. With this option, we prevent to load the modules which vermagic is not match exactly with the running kernel. It could

[PATCH] module: check vermagic match exactly when load modules

2015-12-09 Thread Xie XiuQi
Usually, checking kernel version will be ignore when loading modules if CONFIG_MODVERSIONS option is enable. This could potentially lead to a mismatch with the running kernel. With this option, we prevent to load the modules which vermagic is not match exactly with the running kernel. It could

Re: [PATCH] module: check vermagic match exactly when load modules

2015-12-09 Thread Rusty Russell
Xie XiuQi writes: > Usually, checking kernel version will be ignore when loading > modules if CONFIG_MODVERSIONS option is enable. This could > potentially lead to a mismatch with the running kernel. > > With this option, we prevent to load the modules which vermagic > is not