mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
rename include to lkmc
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <include/ring0.h>
|
||||
#include <lkmc/ring0.h>
|
||||
|
||||
int main(void) {
|
||||
LkmcRing0Regs ring0_regs;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h> /* sleep */
|
||||
|
||||
#include <include/anonymous_inode.h>
|
||||
#include <lkmc/anonymous_inode.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
char buf[1024];
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <include/ioctl.h>
|
||||
#include <lkmc/ioctl.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
char *ioctl_path;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <include/netlink.h>
|
||||
#include <lkmc/netlink.h>
|
||||
|
||||
#define MAX_PAYLOAD 1024
|
||||
|
||||
|
||||
Reference in New Issue
Block a user