Đàm Ngọc Lan
New member
How do I create a Linux kernel module?
Answer
Example: hello.c module
Answer
Example: hello.c module
- hello.c C source code. …
- Add following c source code to it: …
- Save the file. …
- Save and close the file.
- Compile hello.c module: …
- Become a root user (use su or sudo) and load the module: …
- Verify that module loaded: …
- See message in /var/log/message file: