runtime-rs: align virtiofsd args on runtime-go

Runtime-go doesn't hardcode --sandbox none --seccomp none [1],
so mirror that in runtime-rs.

 [1]: 733ccb3254/src/runtime/virtcontainers/virtiofsd.go (L183)

Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
This commit is contained in:
Aurélien Bombo
2026-05-01 15:12:22 -05:00
parent 733ccb3254
commit 555b7738fe
2 changed files with 0 additions and 6 deletions

View File

@@ -86,10 +86,6 @@ impl ShareVirtioFsStandalone {
String::from(shared_dir),
String::from("--cache"),
self.config.virtio_fs_cache.clone(),
String::from("--sandbox"),
String::from("none"),
String::from("--seccomp"),
String::from("none"),
];
if !self.config.virtio_fs_extra_args.is_empty() {

View File

@@ -104,8 +104,6 @@ fn virtiofsd_args(cfg: SharedFsInfo, shared_dir: &str, sock_path: &str) -> Resul
String::from(shared_dir),
String::from("--cache"),
cfg.virtio_fs_cache.clone(),
String::from("--sandbox"),
String::from("none"),
];
if !cfg.virtio_fs_extra_args.is_empty() {