Files
linux-kernel-module-cheat/kernel_module/user/README.adoc
Ciro Santilli 867c56b5d8 done3
2018-02-14 03:41:01 +00:00

27 lines
605 B
Plaintext

= user
Userland C programs used to test our kernel modules.
`sh` programs are simpler, and installed by copying directly with an overlay.
C programs require cross compiling, but give us more control over system calls.
These programs can also be compiled and used on host.
. Standalone
.. link:hello.c[]
.. link:myinsmod.c[]
.. link:myrmmod.c[]
.. link:usermem.c[]
... link:pagemap_dump.c[]
.. inits
.... link:sleep_forever.c[]
.... link:poweroff.c[]
.... link:init_dev_kmsg.c[]
.. link:uio_read.c[]
.. link:rand_check.c[]
. Module tests
.. link:anonymous_inode.c[]
.. link:poll.c[]
.. link:ioctl.c[]