Coding a Linux kernel module in C

Publié le: 25 avril 2026
sur la chaîne: dr Jonas Birch
6,034
419

A loadable kernel module (lkm) taps into the internals of the core operating system, modifying its behavior. In this series we'll try to code a module that hijacks the kill() system call, disables it and replacing it with our own function. Thus making our selected process immortable, even for root.

Kernel programming is very low-level but the actual code is not as complicated as one might think. It's pretty difficult to debug and troubleshoot it though, but the code is rather easy to understand since you mostly use standard macros and functions to get things done. We will however go a little bit beyond what is standard.

After watching this series, you may put the prestigeous "Linux kernel developer" on your resumé/CV. You will learn the internals of the operating system, and get a better understanding of the Linux internals as well as many low-level kernel security features.

Exciting stuff, no? Let's get started!

#programming #linux #kernel #module #lkm

References

1. Become a channel member and get several benefits, check out:
   / @dr-jonas-birch  

2. Linux kernel module programming guide
https://sysprog21.github.io/lkmpg/

3. Bruno Ciccarino Github
https://github.com/BrunoCiccarino/Lin...

00:00:00 Introduction
00:08:36 Project setup
01:05:41 Our first kernel module
01:28:19 Replacing system calls
02:58:04 SCT finding script
04:49:00 Troubleshoot


Sur cette page du site, vous pouvez voir la vidéo en ligne Coding a Linux kernel module in C durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur dr Jonas Birch 25 avril 2026, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,034 fois et il a aimé 419 téléspectateurs. Bon visionnage!