Showing posts with label linux kernel. Show all posts
Showing posts with label linux kernel. Show all posts

Thursday, July 14, 2011

Disable Linux kernel version magic check

Linux kernel will refuse to load kernel module if the version magic is not match. It can be easily disabled for some ease.
Find linux kernel kernel/module.c, find "check_modinfo" function, comment out "return -ENOEXEC;" for same_magic(...) check function.