-/* my first kernel driver :-) */
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-#include <linux/sched.h>
-
-int init_module(void) {
- printk(KERN_ALERT "hi hackbard, here is your kernel speaking! :)\n");
- printk(KERN_ALERT "some info : %s has process id %i\n",current->comm,
- current->pid);
- return 0;
-}
-
-void cleanup_module(void) {
- printk(KERN_ALERT "bye hackbard ...\n");
-}
-