#include MODULE_LICENSE("GPL and additional rights"); static int __init hello_init(void) { printk(KERN_ALERT "Hello, world - this is the kernel speaking\n"); return 0; } static void __exit hello_exit(void) { printk(KERN_ALERT "Short is the life of a kernel module\n"); } module_init(hello_init); module_exit(hello_exit);