An Empirical Study of Rust-for-Linux: The Success, Dissatisfaction, and Compromise

被引:0
|
作者
Li, Hongyu [1 ]
Guo, Liwei [2 ]
Yang, Yexuan [1 ]
Wang, Shangguang [1 ]
Xu, Mengwei [1 ]
机构
[1] Beijing Univ Posts & Telecommun, Beijing, Peoples R China
[2] Univ Elect Sci & Technol China, Chengdu, Peoples R China
基金
国家重点研发计划;
关键词
CHECKER;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Developed.for over 30 years, Linux has already become the computing foundation for today's digital world; from gigantic, complex :mainframes (e.g., supercomputers) to cheap, wimpy embedded devices (e.g., IoTs), countless applications are built: on top of it. Yet, such an infrastructure has been plagued by numerous memory and concurrency hugs since the day it was born, due to many rogue memory operations are permitted by C language. A recent project Rust-for-Linux (RFL) has the potential to address Linux's safety concerns once and for all by embracing Rust's static ownership and type checkers into the kernel code, the kernel may finally be free from memory and concurrency bugs without hurting its performance, While it has been gradually matured and even merged into Linux mainline, however, RP I. is rarely studied and still remains unclear whether it has indeed reconciled the safety and performance dilemma for the kernel. To this end, we conduct the first empirical study on RFL to understand its status quo and benefits, especially/on how Rust fuses with I and whether the fusion assures driver safety without overhead, We collect and analyze 6 key RH, drivers, which involve hundreds of issues and PRs, thousands of Github commits and mail exchanges of the Linux mailing list, as well as over 12K discussions on Zulip. We have found while Rust mitigates kernel vulnerabilities, it is beyond Rust's capability to fully eliminate them; what is more, if not handled properly, its safety assurance even costs the developers dearly in terms of both runtime overhead and development efforts.
引用
收藏
页码:425 / 443
页数:19
相关论文
共 50 条
  • [1] An Empirical Study of Configuration Mismatches in Linux
    El-Sharkawy, Sascha
    Krafczyk, Adam
    Schmid, Klaus
    21ST INTERNATIONAL SYSTEMS & SOFTWARE PRODUCT LINE CONFERENCE (SPLC 2017), VOL 1, 2017, : 19 - 28
  • [2] An Empirical Study of Regression Bug Chains in Linux
    Xiao, Guanping
    Zheng, Zheng
    Jiang, Bo
    Sui, Yulei
    IEEE TRANSACTIONS ON RELIABILITY, 2020, 69 (02) : 558 - 570
  • [3] An Empirical Study on Bugs in Rust Programming Language
    Yu, Sijie
    Wang, Ziyuan
    2024 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2024, : 296 - 305
  • [4] An empirical study of filesystem activity following a SSH compromise
    Molina, Jesus
    Gordon, Joe
    Chorin, Xavier
    Cukier, Michel
    2007 6TH INTERNATIONAL CONFERENCE ON INFORMATION, COMMUNICATIONS & SIGNAL PROCESSING, VOLS 1-4, 2007, : 680 - +
  • [5] Fuzzing the Latest NTFS in Linux with Papora: An Empirical Study
    Lo, Edward
    He, Ningyu
    Shi, Yuejie
    Xu, Jiajia
    Wu, Chiachih
    Li, Ding
    Guo, Yao
    2023 IEEE SECURITY AND PRIVACY WORKSHOPS, SPW, 2023, : 326 - 336
  • [6] An Empirical Study of Security Problem Reports in Linux Distributions
    Anbalagan, Prasanth
    Vouk, Mladen
    ESEM: 2009 3RD INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, 2009, : 482 - 485
  • [7] Evaluating SZZ Implementations: An Empirical Study on the Linux Kernel
    Lyu, Yunbo
    Kang, Hong Jin
    Widyasari, Ratnadira
    Lawall, Julia
    Lo, David
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (09) : 2219 - 2239
  • [8] Adapting Linux for Mobile Platforms: An Empirical Study of Android
    Khomh, Foutse
    Yuan, Hao
    Zou, Ying
    2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 629 - 632
  • [9] An Empirical Study of Yanked Releases in the Rust Package Registry
    Li, Hao
    Cogo, Filipe R. R.
    Bezemer, Cor-Paul
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (01) : 437 - 449
  • [10] SUCCESS FACTORS OF STANDARDIZATION: AN EMPIRICAL STUDY
    Gepp, Michael
    Khomut, Michael
    Vollmar, Jan
    ANNALS OF DAAAM FOR 2012 & PROCEEDINGS OF THE 23RD INTERNATIONAL DAAAM SYMPOSIUM - INTELLIGENT MANUFACTURING AND AUTOMATION - FOCUS ON SUSTAINABILITY, 2012, 23 : 501 - 504