Title
Linux Kernel Module Development with Rust
Abstract
The Linux system has become an indispensable component of today's Internet services, network backbones, and IoT devices. The Linux kernel is primarily implemented in the C language for efficiency, creating opportunities for memory bugs and synchronization bugs. We introduce the use of the Rust programming language in kernel development, where the safety features of the Rust language are leveraged to prevent the introduction of memory bugs or synchronization bugs when writing kernel code. We showcase the key steps in developing a Linux kernel module in Rust and discuss how the memory bugs and synchronization bugs are prevented. The evaluation demonstrates that the performance overhead of the Rust kernel modules is on par with the C kernel modules.
Year
DOI
Venue
2022
10.1109/DSC54232.2022.9888822
2022 IEEE Conference on Dependable and Secure Computing (DSC)
Keywords
DocType
ISBN
Linux kernel,Rust,memory bug,synchronization bug,compile-time check
Conference
978-1-6654-2142-3
Citations 
PageRank 
References 
0
0.34
0
Authors
2
Name
Order
Citations
PageRank
Shao-Fu Chen100.34
Yu-Sung Wu200.34