safeL4: Rethinking Safe-Language-Based Single Address Space Microkernels
Zheyuan Xu, Xiaobei Zhang, Zihan Li, Zekai Nie, Guangtao Zhu, Zhuang Lu, Qianying Zhang, Shijun Zhao,
Key points
From the paper's conclusion- We implement a prototype system in Rust, and our evaluation results show that the primitives provided by safeL4 are, on average, 1.9$\times$ faster than those of seL4.
Abstract
Microkernels provide good features such as high security, safety, and flexibility, but their reliance on hardware-based isolation leads to heavy performance overhead, limiting their widespread adoption. Although constructing single-address-space microkernels based on safe language-based isolation is a promising approach to addressing the performance issue, this approach still faces challenges in maintaining the principle of minimality and enforcing capability-based, fine-grained access control over system resources. We propose safeL4, an approach to constructing microkernels based on safe languages. It guarantees minimality through low-level abstractions for unsafe operations, and implements a capability system based on the safe language's object capabilities to achieve fine-grained access control over all operations on system resources. We implement a prototype system in Rust, and our evaluation results show that the primitives provided by safeL4 are, on average, 1.9$\times$ faster than those of seL4.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CapBuddy: Efficient Physical Memory Management for Capability-based Resource-controlling MicrokernelACM Transactions on Architecture and Code Optimization · 2026
- Strict Capabilities with a PNVI Escape HatcharXiv · 2026
- An Agentic OS Kernel for Flexible and Enhanced SemanticsarXiv · 2026
- Locking Down Science Gateways with Landlock and SeccompSN Computer Science · 2026
- KaPilot: LLM-Assisted Generation of Kani Specifications for Unsafe Rust VerificationProceedings of the ACM on software engineering. · 2026
- Scylla: Translating an Applicative Subset of C to Safe RustProceedings of the ACM on Programming Languages · 2026