landlock-lsm/rust-landlock
关于
Safe Rust library for Linux Landlock sandboxing
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +8
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Rust Landlock library
Landlock is a security feature available since Linux 5.13. The goal is to enable to restrict ambient rights (e.g., global filesystem access) for a set of processes by creating safe security sandboxes as new security layers in addition to the existing system-wide access-controls. This kind of sandbox is expected to help mitigate the security impact of bugs, unexpected or malicious behaviors in applications. Landlock empowers any process, including unprivileged ones, to securely restrict themselves. More information about Landlock can be found in the official website.
This Rust crate provides a safe abstraction for the Landlock system calls along with some helpers.
Use cases
This crate is especially useful to protect users' data by sandboxing:
- trusted applications dealing with potentially malicious data (e.g., complex file format, network request) that could exploit security vulnerabilities;
- sandbox managers, container runtimes or shells launching untrusted applications.
Examples
A simple example can be found with the
path_beneath_rules() helper.
More complex examples can be found with the
Ruleset documentation
and the sandboxer example.
Crate documentation
Changelog
探索相关项目
加载中…