Skip to content

Commit 52457c5

Browse files
committed
comment
1 parent 5f199ac commit 52457c5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ async fn main() -> Result<()> {
6868
only_checks,
6969
report_dir,
7070
} => {
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.
7176
let host_executor = HostNamespaceExecutor::new();
7277

7378
let mut groups: Vec<Box<dyn CheckGroup>> = vec![

0 commit comments

Comments
 (0)