Created by Amber Adams / @amberadams or @anarchival
Strange Loop 2014: You can be a kernel hacker!
by Julia Evans
Morgan (Reese) Phillips @ PhreakNIC
Greg Kroah-Hartman's talks I Don't Want Your Code and Write and Submit your first Linux kernel Patch.
strace -e open google-chrome
man proc
#include // included for all kernel modules
#include // included for KERN_INFO
#include // included for __init and __exit macros
static int __init hello_init(void)
{
printk(KERN_INFO "WOW I AM A KERNEL HACKERl!!!\n");
return 0; // Non-zero return means that the module couldn't be loaded.
}
static void __exit hello_cleanup(void)
{
printk(KERN_INFO "I am dead.\n");
}
module_init(hello_init);
module_exit(hello_cleanup);