in these series of tutorials i want to play with Linux kernel and Loadable Kernel Modules (LKM) along with getting basic information about kernel architecture and system calls (part 1) , proc file system and processes information's (part 2), these tutorials are adopted from my operating system's class project.
there are two major parts as i mentioned before:
- Linux kernel (focusing on system calls)
- Building kernel from source with adding a simple system call
- Finding specified devices information and necessary functions to implement them
- How to implement the system call and user space program to get info on specified drivers from kernel
2. Loadable Kernel Modules (focusing on Proc File system)
- Implementation of simple “hello world” module and run
- Finding specified information and necessary functions to implement desired module
- Implementation of desired kernel module and user program
requirements:
Ubuntu version: 16.04.2 (recommended not required)
Linux kernel : 4.x.x
Internet connection
about 30 or 40 gigabytes of space (first part)
lots of time for compile ! (first part)
i will start from the simple system call in the next post.
navidx
11 July 17 ، 06:12