I want to implement a feature through a kernel module, and I hope to achieve this functionality only by providing the *.ko file, making it effective on machines with different kernel versions through insmod
command without needing to recompile the source code every time on a different machine.
How could I achieve this functionality?