Last active
January 12, 2019 17:40
-
-
Save anubhavshrimal/21f2a1f20f32b4d0c8d829d0a5ffba5f to your computer and use it in GitHub Desktop.
linux kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <linux/kernel.h> | |
#include <sys/syscall.h> | |
#include <unistd.h> | |
int main() | |
{ | |
long int amma = syscall(548); | |
printf("System call sys_hello returned %ld\n", amma); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment