From 9105e9fbe54afcbda54676e6de7410c4a2d0a07d Mon Sep 17 00:00:00 2001 From: Lepton Wu Date: Thu, 14 Mar 2019 11:38:31 -0700 Subject: Remove "multiprocess" argument. Both "multiprocess" and "disable-sandbox" control the same config and actually they have same final effects. So just remove "multiprocess" argument and also rename "multiprocess" to "sandbox" to make it more clear. BUG=None TEST=`cros_run_unit_tests --board=eve --packages=crosvm` Change-Id: I313d110af48b43231b1426332b63868cb0218490 Reviewed-on: https://chromium-review.googlesource.com/1524375 Commit-Ready: Lepton Wu Tested-by: kokoro Reviewed-by: Zach Reizner --- src/plugin/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugin/mod.rs') diff --git a/src/plugin/mod.rs b/src/plugin/mod.rs index b79176e..4ec7a41 100644 --- a/src/plugin/mod.rs +++ b/src/plugin/mod.rs @@ -461,7 +461,7 @@ pub fn run_config(cfg: Config) -> Result<()> { // quickly. let sigchld_fd = SignalFd::new(SIGCHLD).map_err(Error::CreateSignalFd)?; - let jail = if cfg.multiprocess { + let jail = if cfg.sandbox { // An empty directory for jailed plugin pivot root. let root_path = match cfg.plugin_root { Some(ref dir) => Path::new(dir), -- cgit 1.4.1