diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2024-03-13 07:41:36 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2024-03-13 07:44:35 +0000 |
commit | d5c7cd125d4b81fcd5ba593748a8b4f6edbd5360 (patch) | |
tree | cf4104a4ee0d81367bcc93fbf8eb2e1f20a24556 | |
parent | 5cd0fbe377a9d32725c01cb7d002d800c10b24e3 (diff) |
tcwg-host: Use read-only mounts for WSL-Interop
Change-Id: Id54676e1b8adbd902f9ff9467f9873014ef4a1bf
-rwxr-xr-x | tcwg-base/tcwg-host/start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-base/tcwg-host/start.sh b/tcwg-base/tcwg-host/start.sh index 1e9353c4..81c54e42 100755 --- a/tcwg-base/tcwg-host/start.sh +++ b/tcwg-base/tcwg-host/start.sh @@ -124,7 +124,7 @@ esac # If this doesn't work, make WSL2 version is 2.0.14 or later; WSL 2.0.9 # has a bug preventing interop outside of the "main init" process tree. case "$(uname -r)" in - *"-WSL2") mounts="$mounts -v /init:/init -v /run/WSL:/run/WSL" ;; + *"-WSL2") mounts="$mounts -v /init:/init:ro -v /run/WSL:/run/WSL:ro" ;; esac # Since we're starting a host container, take the opportunity to ensure that GDB |