|
8 years ago | |
---|---|---|
.. | ||
Makefile | 8 years ago | |
README.md | 8 years ago | |
hello.c | 8 years ago | |
ins_rm_mod.c | 8 years ago |
Simple things that can be demonstrated by inserting a module into the currently running host. Tested on Ubuntu 16.04.
This method easier to setup, but it is not recommended for development, as:
Use VMs instead.
We only use it for super simple examples.
Build, insert and remove a hello world module:
make ins
make rm
make log
The last lines of the log should contain:
init_module
cleanup_module
Insert and remove a module from a C program:
make ins_rm_run