diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-10-26 19:01:22 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2023-10-30 12:25:47 +0100 |
commit | 6dd357386ac2ab84350917b92a8e37433eafd2ab (patch) | |
tree | 3d6fae044d9acffe86a0475ff0068a0fc9cd1b75 /tests | |
parent | 7fd8111c2a2a77e14702830463fce76478b60b37 (diff) |
bwrap: Improve kernel namespace (un)sharing
Instead of just making the network namespace unshared via the
"unshareNetwork" option, we have full control over all namespaces
via the new config option "sharedNamespaces".
Change-Id: I986fbf7f2e99289ee874f7ac83ba43964f2253a7
Fixes: QTBUG-118524
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/bubblewrap/am-config.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/bubblewrap/am-config.yaml b/tests/auto/qml/bubblewrap/am-config.yaml index 96e270dc..97b7a666 100644 --- a/tests/auto/qml/bubblewrap/am-config.yaml +++ b/tests/auto/qml/bubblewrap/am-config.yaml @@ -16,7 +16,8 @@ containers: - "test.app": "bubblewrap" bubblewrap: - unshareNetwork: ${CONFIG_PWD}/netscript.sh + sharedNamespaces: [ '-all', '+net' ] + networkSetupScript: ${CONFIG_PWD}/netscript.sh # set to yes, if you build against a system or Installer Qt and the launcher cannot be found bindMountHome: yes |