4f988c1bbc
Found by running the full suite as root with every unshare-* flag forced off via -c/--config-file: this test only ever checked kernel support for --unshare-net, never the config's own policy, so disabling it via global.unshare-net correctly makes bwrap skip requesting the namespace -- production code working exactly as configured, not a bug -- while the test still asserted isolation and failed. Generalized the existing pid-only two-gate check into namespace_type_would_isolate(type), covering any of bwrap.cpp's own namespace_probes names, and used it here instead of a kernel-support-only check.