cloud-hypervisor/vhost_user_fs
Sebastien Boeuf 50b0e58c88 vhost_user_fs: Allow specific shared directory to be specified
Because the vhost_user_backend crate needs some changes to support
moving the process to a different mount namespace and perform a pivot
root, it is not possible to change '/' to the given shared directory.

This commit, as a temporary measure, let the code point at the given
shared directory.

The long term solution is to perform the mount namespace change and the
pivot root as this will provide greater security.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-11-22 22:17:47 +01:00
..
src vhost_user_fs: Allow specific shared directory to be specified 2019-11-22 22:17:47 +01:00
Cargo.toml vhost_user_fs: Add virtio descriptor helper traits 2019-11-22 22:17:47 +01:00