Guest User

Untitled

a guest
Mar 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <linux/module.h>
  2. #include <linux/kernel.h>
  3.  
  4.  
  5. int init_module(void) {
  6. printk(KERN_INFO "Hello world.\n");
  7. return 0;
  8. }
  9.  
  10. void cleanup_module(void) {
  11. printk(KERN_INFO "Goodbye world.\n");
  12. }
  13.  
  14. MODULE_LICENSE("GPL");
Add Comment
Please, Sign In to add comment