When we inserting a module into linux kernel, the linux (almost) always check the vermagic info of module, if it does not match kernel’s, inserting process fails.
So, the question is :
How to build modules for a precompiled kernel ?Solution:
Edit VERMAGIC_STRING in include/linux/vermagic.h
Ref:
版权声明:本文为博主原创文章,未经博主允许不得转载。
,最快乐的时候,就是去旅行。