This project focuses on the development and implementation of a Linux Kernel Module (LKM). Unlike standard applications, this module operates within the kernel space, allowing direct interaction with the core of the operating system. The project serves as a practical demonstration of low-level system programming and kernel lifecycle management.
The project was developed in a controlled Linux environment to explore kernel-level operations. Key milestones documented in this repository include:
- Source Design: Development of the module logic in C using kernel functions like
printkfor system logging. - Compilation Workflow: Automating the build process using a
Makefileto generate kernel objects (.ko). - Kernel Interaction: - Inserting the module using
insmod.- Managing system parameters and viewing real-time kernel logs via
dmesg. - Safely removing the module using
rmmod.
- Managing system parameters and viewing real-time kernel logs via
- Understanding the difference between User Space and Kernel Space.
- Mastering Linux command-line tools for system administration and monitoring.
- Handling dynamic kernel module loading and unloading.
Documentation/: Contains the full technical report (PDF) featuring the source code, compilation steps, and execution results from the Linux terminal.
- Atekah Hussain Aljafar
- Part of the Operating Systems Course - King Faisal University.
Connect with me on LinkedIn for more projects! https://www.linkedin.com/in/ateka-hussain/