Writing your first Linux kernel module

Hello! This post is going to cover how you can build and run your first kernel module. Pre-requisites: Basic C Programming A bit of what kernel is What is a module? component that can be loaded and unloaded from an already running kernel relocatable object file .ko extension has all potential as that of any other part of kernel once loaded Let’s start writing the C program. Easy way to remember the header files to be included: Since you have to write a module for the linux kernel, start with including the file module.h from linux. Next, you need to … Continue reading Writing your first Linux kernel module