How do I run a kernel module?

How do I run a kernel module?
Answer
The procedure to compile and run a kernel module is as follows:
  1. Modify the makefile by replacing every occurrence of helloWorld and kernelRead by the names of the modules you wish to create.
  2. compile the modules by running make in the directory where the modules reside. …
  3. Now become superuser by typing.
 

Tìm kiếm

Back
Top