mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vhost_user_fs: Implement support for optional sandboxing
Implement support for setting up a sandbox for running the service. The technique for this has been borrowed from virtiofsd, and consists on switching to new PID, mount and network namespaces, and then switching root to the directory to be shared. Future patches will implement additional hardening features like dropping capabilities and seccomp filters. Signed-off-by: Sergio Lopez <slp@redhat.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
c4bf383fd7
commit
6aab0a5458
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -1414,6 +1414,7 @@ dependencies = [
|
||||
"bitflags 1.2.1",
|
||||
"libc",
|
||||
"log 0.4.8",
|
||||
"tempdir",
|
||||
"vhost",
|
||||
"vm-memory",
|
||||
"vm-virtio",
|
||||
|
||||
Reference in New Issue
Block a user