Coding a Linux kernel module in C

Publicado em: 25 Abril 2026
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Coding a Linux kernel module in C duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário dr Jonas Birch 25 Abril 2026, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 6,034 vezes e gostou 419 espectadores. Boa visualização!