1
0
mirror of https://github.com/bashrc/LKMPG.git synced 2018-06-11 03:06:54 +02:00
Files
LKMPG/4.9.11/examples/stop.c
Bob Mottram ea1cc34f57 Kernel 4.9.11
Included updates syscall example which disables page protection on Intel chips
2017-02-27 19:11:44 +00:00

12 lines
272 B
C

/*
* stop.c - Illustration of multi filed modules
*/
#include <linux/kernel.h> /* We're doing kernel work */
#include <linux/module.h> /* Specifically, a module */
void cleanup_module()
{
printk(KERN_INFO "Short is the life of a kernel module\n");
}