firecracker-microvm / firecracker-microvm/firecracker
[Feature Request] Use landlock for sandboxing VM process
- Dominant language
- Rust
- Stars
- 36.7k
- Forks
- 2.6k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 53
Description
# Feature Request
Jailer could use [Landlock](https://landlock.io) to confine guest VM's processes further, restricting fine-grained file system access than what current chroot can provide. This would be a defense in depth mechanism if the VM escape or host compromise is attempted.
## Describe the desired solution
Landlock would allows apps inside guest VM to have nested sandboxing for file paths.
## Describe possible alternatives
Keep using existing chroot trick. But that's not ideal.
## Additional context
I'm working on an OS similar to QubesOS where every app is a microVM.
## Checks
- [x] Have you searched the Firecracker Issues database for similar requests?
- [x] Have you read all the existing relevant Firecracker documentation?
- [x] Have you read and understood Firecracker's core tenets?
Contributor guide
Assessment
This issue has not been assessed yet.