2 * "hello world" kernel module
5 #define pr_fmt(fmt) "test_module: " fmt
7 #include <linux/module.h>
9 static int __init test_module_init(void)
11 pr_info("Hello, world\n");
16 module_init(test_module_init);
18 static void __exit test_module_exit(void)
23 module_exit(test_module_exit);
25 MODULE_AUTHOR("Kees Cook <keescook@chromium.org>");
26 MODULE_LICENSE("GPL");