News

README Linux Kernel Module Tutorial Series This repository contains a series of example Linux Kernel Modules designed for learning and practicing Linux Kernel development. Each module demonstrates a ...
Our objective in this chapter is to introduce the basics of Linux device drivers. We’ll begin with the concept of installable kernel modules. Then we’ll look at the basic device driver APIs in the ...
For example, you probably don’t want to put drivers for every single known video card in your kernel. But it is perfectly fine to build dozens or hundreds of modules you might need and then load ...
I will discuss some of the fun things you can do by altering and wrapping system calls a little later, but let us first get our hands dirty with an example kernel module. This is a simple example, ...
Our example uses the 2.5.31 kernel release, which contains enough of the LSM interface for us to create a useful module. In our module, we want to prevent any programs with the group ID of 0 (root) ...
Linux has supported the no-execute (NX) bits since way back in kernel 2.6.8 (2004), which helped protect against memory corruption bugs by preventing an attacker from writing to arbitrary memory ...
In this second excerpt, Abbott discusses kernel modules and device drivers. In Part 1 of this excerpt the author worked through an example of a simple kernel module. In this installment, Abbott ...