Linux Kernel Programming
eBook - ePub

Linux Kernel Programming

Developing kernel architecture and device drivers for character, block, USB, and network interfaces (English Edition)

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Linux Kernel Programming

Developing kernel architecture and device drivers for character, block, USB, and network interfaces (English Edition)

About this book

Description
Linus Torvald released the first version of a kernel in 1991, inspired at the time by both proprietary Unix and the Minix system. Thirty-four years later, this system has evolved with stability and robustness, making it almost indispensable for the DevSecOps community. The Linux kernel forms the robust core of countless systems, from embedded devices to vast data centers, driving unparalleled power and flexibility. This book is your essential guide to deeply understanding this fundamental component and mastering the art of developing high-performance kernel-level codeThis book meticulously details the kernel's history, architectural evolution, and custom build processes. You will master device driver fundamentals, distinguishing user from kernel space, and understanding the Linux Device Model (LDM). It explores Linux Security Modules, intricate kernel memory management, and various vital communication interfaces like I2C, SPI, SERIAL, PCI, and RTC. The guide concludes with task/process management, real-time concepts, and essential kernel debugging and profiling.By the end of this book, you will be well-equipped to confidently develop, optimize, and debug kernel-level code. This empowers you to build custom Linux systems, craft efficient device drivers, and troubleshoot complex issues, ready to tackle advanced Linux system programming challenges. You will also be able to better understand this system and develop your own drivers or low-level developments for it.

What you will learn
? GNU/Linux kernel history, feature evolution, and licensing.
? Understand and develop your character and block drivers.
? Develop new file systems.
? Manage your systems by communicating with the USB protocol.
? Debug your drivers, your kernel, or any other module in the kernel space.
? Understand the layout of the Linux device model.
? Memory management in the kernel, as well as via DMA or NUMA.
? Implement Linux Security Modules (LSM) and Netfilter stack hooks.

Who this book is for
This book is for software engineers looking to understand the Linux kernel's architecture, modify it, and develop custom modules. It also supports project managers, team leaders, and technical managers seeking a clear view of kernel development and capabilities. CISOs and IT managers will benefit from insights into kernel limitations, vulnerabilities, and security measures, such as Linux Security Modules (LSMs).

Table of Contents
1. History of the GNU/Linux Kernel
2. Introduction to the Linux Kernel
3. Introduction to Device Drivers
4. Linux Device Model
5. Character Device Drivers
6. Block Drivers and Virtual Filesystem
7. USB Drivers and libusb
8. Network Drivers
9. Linux Security Modules
10. Kernel Memory and DMA
11. Navigating Linux Communication Interfaces
12. Process Management
13. Debugging GNU/Linux Kernel and Drivers

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Linux Kernel Programming by THIERRY GAYET in PDF and/or ePUB format, as well as other popular books in Computer Science & Open Source Programming. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. About the Reviewers
  7. Acknowledgement
  8. Preface
  9. Table of Contents
  10. 1. History of the GNU/Linux Kernel
  11. 2. Introduction to the Linux Kernel
  12. 3. Introduction to Device Drivers
  13. 4. Linux Device Model
  14. 5. Character Device Drivers
  15. 6. Block Drivers and Virtual Filesystem
  16. 7. USB Drivers and libusb
  17. 8. Network Drivers
  18. 9. Linux Security Modules
  19. 10. Kernel Memory and DMA
  20. 11. Navigating Linux Communication Interfaces
  21. 12. Process Management
  22. 13. Debugging GNU/Linux Kernel and Drivers
  23. Index