We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f199ac commit 52457c5Copy full SHA for 52457c5
1 file changed
src/main.rs
@@ -68,6 +68,11 @@ async fn main() -> Result<()> {
68
only_checks,
69
report_dir,
70
} => {
71
+ // If we are in a privileged container running in the host pid namespace,
72
+ // this creates a tokio thread pool that runs stuff outside of the container context,
73
+ // directly on the host.
74
+ // If we are in a regular old `sudo`'d binary running naked on the host,
75
+ // this is effectively a silent no-op.
76
let host_executor = HostNamespaceExecutor::new();
77
78
let mut groups: Vec<Box<dyn CheckGroup>> = vec![
0 commit comments