The technical requirements – the software packages required – for this chapter are identical to what was shown in the Technical requirements section in Chapter 4, Writing Your First Kernel Module – LKMs Part 1; please refer to it. As always, you can find the source code for this chapter in this book's GitHub repository. Clone it with the following:
git clone https://github.com/PacktPublishing/Linux-Kernel-Programming
The code displayed in the book is often just a relevant snippet. Follow along with the full source code from the repository. For this chapter (and those that follow), more on the technical requirements is found in the following section.