split kernel module api docs to README

This commit is contained in:
Ciro Santilli
2018-07-01 23:37:37 +01:00
parent 8f37cd0d22
commit 6c241279a6
18 changed files with 490 additions and 296 deletions

View File

@@ -23,8 +23,3 @@ These programs can also be compiled and used on host.
.. x86_64
... link:rdtsc.c[]
... link:ring0.c[]
. Module tests
.. link:anonymous_inode.c[]
.. link:ioctl.c[]
.. link:netlink.c[]
.. link:poll.c[]

View File

@@ -1,3 +1,5 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-parameters#myinsmod */
#define _GNU_SOURCE
#include <fcntl.h>
#include <stdio.h>