Linux Kernel Module Development with Rust

Shao Fu Chen, Yu Sung Wu

研究成果: Conference contribution同行評審

摘要

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.

原文English
主出版物標題5th IEEE Conference on Dependable and Secure Computing, DSC 2022 and SECSOC 2022 Workshop, PASS4IoT 2022 Workshop SICSA International Paper/Poster Competition in Cybersecurity
發行者Institute of Electrical and Electronics Engineers Inc.
ISBN(電子)9781665421416
DOIs
出版狀態Published - 2022
事件5th IEEE Conference on Dependable and Secure Computing, DSC 2022 - Edinburgh, United Kingdom
持續時間: 22 6月 202224 6月 2022

出版系列

名字5th IEEE Conference on Dependable and Secure Computing, DSC 2022 and SECSOC 2022 Workshop, PASS4IoT 2022 Workshop SICSA International Paper/Poster Competition in Cybersecurity

Conference

Conference5th IEEE Conference on Dependable and Secure Computing, DSC 2022
國家/地區United Kingdom
城市Edinburgh
期間22/06/2224/06/22

指紋

深入研究「Linux Kernel Module Development with Rust」主題。共同形成了獨特的指紋。

引用此