You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Loadable Kernel Module (LKM) that prints to the kernel log. This project demonstrates the setup, compilation, and insertion of out-of-tree kernel modules.
## Technical Implementation
- **Language:** C
- **Build Tool:** GNU Make (Kbuild)
- **Environment:** Kali Linux (Kernel 6.x)
## Troubleshooting Steps Taken
The following system-level hurdles were cleared during development:
1. **Header Prep:** Reinstalled and synced `linux-headers-$(uname -r)`.
2. **Path Resolution:** Fixed recursive build loops by utilizing absolute paths in the `M=` variable.
3. **Macro Accuracy:** Debugged `__init` and `__exit` macro definitions to ensure proper kernel entry/exit points.