/** * 1105/12-01. The namespaces the provider sandbox asks bubblewrap for * (scripts/run-and-validate-provider.ts). bubblewrap is not setuid, so each of * them is an unprivileged user namespace plus the namespace named, and * `--unshare-net` also brings up loopback inside it. * * scripts/check-system-test-prerequisites.ts probes the host with this same * list. A host that refuses them (Ubuntu 24.04 with * kernel.apparmor_restrict_unprivileged_userns=1 and no AppArmor profile for * bwrap) then fails the prerequisite check by name, instead of passing it and * failing the provider tests with a raw netlink error. */ export const PROVIDER_SANDBOX_NAMESPACE_ARGUMENTS: readonly string[] = Object.freeze([ "--unshare-pid", "--unshare-ipc", "--unshare-uts", "--unshare-net", ]);