Skip to content

Instantly share code, notes, and snippets.

@anubhavshrimal
Created July 11, 2018 17:38
Show Gist options
  • Save anubhavshrimal/9e4543ab573be6319d6a254a56331d57 to your computer and use it in GitHub Desktop.
Save anubhavshrimal/9e4543ab573be6319d6a254a56331d57 to your computer and use it in GitHub Desktop.
linux kernel hello.c
#include <linux/kernel.h>
asmlinkage long sys_hello(void)
{
printk("Hello world\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment