Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <linux/module.h>
- #include <linux/kernel.h>
- int init_module(void) {
- printk(KERN_INFO "Hello world.\n");
- return 0;
- }
- void cleanup_module(void) {
- printk(KERN_INFO "Goodbye world.\n");
- }
- MODULE_LICENSE("GPL");
Add Comment
Please, Sign In to add comment