An open API service indexing awesome lists of open source software.

https://github.com/kenpusney/lkm-example

Loadable Kernel Module example
https://github.com/kenpusney/lkm-example

Last synced: 10 months ago
JSON representation

Loadable Kernel Module example

Awesome Lists containing this project

README

          

Linux Kernel Module examples
========

## Examples

- `start.c` / `stop.c`: Kernel module in multiple files
- `chardev.c`: Kernel module to simulate a simple character device
- `syscall.c`: Kernel module to hijack syscall open.

All code tested under Ubuntu 16.04.

Dependencies:
```bash
apt install linux-headers-$(uname -r) gcc make
```

## Syscall references:

https://syscalls.kernelgrok.com/