Training The Linux Foundation

Training goals dlearning

code: LFD440

This 4 days course provides experienced programmers with methods and internal infrastructure of the Linux kernel. This course focuses on the important tools used for debugging and monitoring the kernel, and how security features are implemented and controlled. It includes extensive hands-on exercises and demonstrations designed to give you the necessary tools to develop and debug Linux kernel code.

Conspect Show list

  1. Introduction
    • Objectives
    • Who You Are
    • The Linux Foundation
    • Linux Foundation Training
    • Linux Distributions
    • Platforms
    • Preparing Your System
    • Using and Downloading a Virtual Machine
    • Things change in Linux
    • Documentation and Links
    • Course Registration
  2. Preliminaries
    • Procedures
    • Kernel Versions
    • Kernel Sources and Use of git
  3. How to Work in OSS Projects **
    • Overview on How to Contribute Properly
    • Stay Close to Mainline for Security and Quality
    • Study and Understand the Project DNA
    • Figure Out What Itch You Want to Scratch
    • Identify Maintainers and Their Work Flows and Methods
    • Get Early Input and Work in the Open
    • Contribute Incremental Bits, Not Large Code Dumps
    • Leave Your Ego at the Door: Don’t Be Thin-Skinned
    • Be Patient, Develop Long Term Relationships, Be Helpful
  4. Kernel Features
    • Components of the Kernel
    • User-Space vs. Kernel-Space
    • What are System Calls?
    • Available System Calls
    • Scheduling Algorithms and Task Structures
    • Process Context
    • Labs
  5. Monitoring and Debugging
    • Debuginfo Packages
    • Tracing and Profiling
    • sysctl
    • SysRq Key
    • oops Messages
    • Kernel Debuggers
    • debugfs
    • Labs
  6. The proc Filesystem **
    • What is the proc Filesystem?
    • Creating and Removing Entries
    • Reading and Writing Entries
    • The seq_file Interface **
    • Labs
  7. kprobes
    • kprobes
    • kretprobes
    • SystemTap **
    • Labs
  8. Ftrace
    • What is ftrace?
    • ftrace, trace-cmd and kernelshark
    • Available Tracers
    • Using ftrace
    • Files in the Tracing Directory
    • Tracing Options
    • Printing with trace_printk()
    • Trace Markers
    • Dumping the Buffer
    • trace-cmd
    • Labs
  9. Perf
    • What is perf?
    • perf stat
    • perf list
    • perf record
    • perf report
    • perf annotate
    • perf top
    • Labs
  10. Crash
    • Crash
    • Main Commands
    • Labs
  11. Kernel Core Dumps
    • Generating Kernel Core Dumps
    • kexec
    • Setting Up Kernel Core Dumps
    • Labs
  12. Virtualization**
    • What is Virtualization?
    • Rings of Virtualization
    • Hypervisors
  13. QEMU
    • What is QEMU?
    • Emulated Architectures
    • Image Formats
    • Third Party Hypervisor Integration
  14. Linux Kernel Debugging Tools
    • Linux Kernel (built-in) tools and helpers
    • kdb
    • qemu+gdb
    • kgdb: hardware+serial+gdb
    • Labs
  15. Embedded Linux**
    • Embedded and Real Time Operating Systems
    • Why Use Linux?
    • Making a Small Linux Environment
    • Real Time Linuxes
  16. Notifiers**
    • What are Notifiers?
    • Data Structures
    • Callbacks and Notifications
    • Creating Notifier Chains
    • Labs
  17. CPU Frequency Scaling**
    • What is Frequency and Voltage Scaling?
    • Notifiers
    • Drivers
    • Governors
    • Labs
  18. Netlink Sockets**
    • What are netlink Sockets?
    • Opening a netlink Socket
    • netlink Messages
    • Labs
  19. Introduction to Linux Kernel Security
    • Linux Kernel Security Basics
    • Discretionary Access Control (DAC)
    • POSIX ACLs
    • POSIX Capabilities
    • Namespaces
    • Linux Security Modules (LSM)
    • Netfilter
    • Cryptographic Methods
    • The Kernel Self Protection Project
  20. Linux Security Modules (LSM)
    • What are Linux Security Modules?
    • LSM Basics
    • LSM Choices
    • How LSM Works
    • An LSM Example: Tomoyo
  21. SELinux
    • SELinux
    • SELinux Overview
    • SELinux Modes
    • SELinux Policies
    • Context Utilities
    • SELinux and Standard Command Line Tools
    • SELinux Context Inheritance and Preservation**
    • restorecon**
    • semanage fcontext**
    • Using SELinux Booleans**
    • getsebool and setsebool**
    • Troubleshooting Tools
    • Labs
  22. AppArmor
    • What is AppArmor?
    • Checking Status
    • Modes and Profiles
    • Profiles
    • Utilities
  23. Netfilter
    • What is netfilter?
    • Netfilter Hooks
    • Netfilter Implementation
    • Hooking into Netfilter
    • Iptables
    • Labs
  24. The Virtual File System
    • What is the Virtual File System?
    • Available Filesystems
    • Special Filesystems
    • The tmpfs Filesystem
    • The ext2/ext3 Filesystem
    • The ext4 Filesystem
    • The btrfs Filesystem
    • Common File Model
    • VFS System Calls
    • Files and Processes
    • Mounting Filesystems
  25. Filesystems in User-Space (FUSE)**
    • What is FUSE?
    • Writing a Filesystem
    • Labs
  26. Journaling Filesystems**
    • What are Journaling Filesystem?
    • Available Journaling Filesystems
    • Contrasting Features
    • Labs
  27. Closing and Evaluation Survey

** These sections may be considered in part or in whole as optional. They contain either background reference material, specialized topics, or advanced subjects. The instructor may choose to cover or not cover them depending on classroom experience and time constraints.

Download conspect training as PDF

Additional information


Before taking this course, you should:

  • Be proficient in the C programming language.
  • Be familiar with basic Linux (UNIX) utilities such as ls, grep and tar.
  • Be comfortable using any of the available text editors (e.g. emacs, vi, etc.).
  • Experience with any major Linux distribution is helpful but not strictly required.
  • Have experience equivalent to having taken LFD420: Linux Kernel Internals and Development.

Pre-class preparation material will be provided before class.

Difficulty level
Duration 4 days

The participants will obtain certificates signed by The Linux Foundation.


Certified The Linux Foundation Trainer.

Other training The Linux Foundation | Linux

Training thematically related


Operation Systems


Contact form

Please fill form below to obtain more info about this training.

* Fields marked with (*) are required !!!

Information on data processing by Compendium - Centrum Edukacyjne Spółka z o.o.

1450 EUR


Discount codes

Discount code may refer to (training, producer, deadline). If you have a discount code, enter it in the appropriate field.
(green means entering the correct code | red means the code is incorrect)



Traditional training

Sessions organised at Compendium CE are usually held in our locations in Kraków and Warsaw, but also in venues designated by the client. The group participating in training meets at a specific place and specific time with a coach and actively participates in laboratory sessions.

Dlearning training

You may participate from at any place in the world. It is sufficient to have a computer (or, actually a tablet, or smartphone) connected to the Internet. Compendium CE provides each Distance Learning training participant with adequate software enabling connection to the Data Center. For more information, please visit site



Paper materials

Traditional Materials: The price includes standard materials issued in the form of paper books, printed or other, depending on the arrangements with the manufacturer.

Ctab materials

Ctab materials: the price includes ctab tablet and electronic training materials or traditional training materials and supplies provided electronically according to manufacturer's specifications (in PDF or EPUB form). The materials provided are adapted for display on ctab tablets. For more information, check out the ctab website.



    • General information
    • Guaranteed dates
    • Last minute (-10%)
    • Language of the training
    • English
    • General information
    • Guaranteed dates
    • Last minute (-10%)
    • Language of the training
    • English
Book a training appointment