From 14c369b179f8235cf4614216a5c2c0abfbe6aee3 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 6 Oct 2023 20:08:43 +0200 Subject: [PATCH] Fix clone filter parameter length --- src/linux/seccomp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/seccomp.rs b/src/linux/seccomp.rs index 1956224..df51d57 100644 --- a/src/linux/seccomp.rs +++ b/src/linux/seccomp.rs @@ -49,7 +49,7 @@ impl SyscallFilter { // Add exception for the `clone` syscall. let allow_clone = SeccompCondition::new( 0, - SeccompCmpArgLen::Dword, + SeccompCmpArgLen::Qword, SeccompCmpOp::MaskedEq(CLONE_NAMESPACE_FILTER as u64), 0, )?;