linux-kernel-module-cheat/kernel_module/user at ptdump · sjas/linux-kernel-module-cheat · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

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.

  1. Standalone
    1. myinsmod
    2. myrmmod
    3. init_hello
  2. Module tests
    1. anonymous_inode
    2. poll
    3. ioctl