Created
April 30, 2019 16:15
-
-
Save md-jamal/30a99bef74b0e3607d705ac5c1bb2b77 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/vermagic.h> | |
static int vermagic_init(void) | |
{ | |
pr_info("VERMAGIC_STRING = " VERMAGIC_STRING "\n"); | |
return 0; | |
} | |
static void vermagic_exit(void) {} | |
module_init(vermagic_init) | |
module_exit(vermagic_exit) | |
MODULE_LICENSE("GPL"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment