Introduction to the /proc file system (Linux kernel development – part 4)

Preface Hi all, As I continue with my Linux kernel development I now reached the situation where I came across the /proc pseudo file system. This virtual file system plays an important role and “strongly” associated with the kernel, so it is worth talking and exploring it. In this post I will go over, not… Continue reading Introduction to the /proc file system (Linux kernel development – part 4)

Loadable kernel module with command line arguments (Linux kernel development – part 3)

Preface Hi all, As I continue with my Linux kernel development and after I have talked very briefly about a minimal and simple example on how to implement a very basic kernel module in this previous post , in this post I will further elaborate about some “related” things worth noting when talking about kernel… Continue reading Loadable kernel module with command line arguments (Linux kernel development – part 3)

Creating a simple loadable kernel module (LKM) on CentOS 7 (Linux kernel development – part 2)

1.Preface Hi all, as I continue with my Linux kernel development, and after I have made all the “basic” preparations to be able to build (loadable) kernel modules – in this previous post , in this post I will go over the basic steps and will write a very basic and minimal “Hello world” loadable… Continue reading Creating a simple loadable kernel module (LKM) on CentOS 7 (Linux kernel development – part 2)

Getting started with Linux kernel development on CentOS 7 (Linux kernel development – part 1)

1. Preface Hi all, Recently I have decided to “dive into” the world of Linux kernel development. So far all of my “Linux experience” was as a user space developer and was only on an Ubuntu machine – most of the time on the Desktop flavor (but sometimes also on the server flavor). In order… Continue reading Getting started with Linux kernel development on CentOS 7 (Linux kernel development – part 1)

Interrupt handler (top-half) in the Linux kernel – part 1

1. Preface Hi all, While I’m continuing to get a grasp about the Linux kernel I have now reached the point (chapter 7 in the Robert Love‘s amazing book) that I study about interrupts and interrupts handlers. In this post I will introduce the basics from what I have learned about interrupts and interrupts handlers,… Continue reading Interrupt handler (top-half) in the Linux kernel – part 1

Implementing a system call in Linux kernel

Preface: After I have started to read and “dig in” into the world of Linux kernel development, and went over the procedure of compiling and installing the kernel – I’m now going to implement a basic system call. I would mention in advance, that this is mainly an educational purpose activity, so perhaps the system… Continue reading Implementing a system call in Linux kernel