Skip to content

Commit

Permalink
Fix clone filter parameter length
Browse files Browse the repository at this point in the history
  • Loading branch information
cd-work committed Oct 6, 2023
1 parent 351f3a0 commit 14c369b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/seccomp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)?;
Expand Down

0 comments on commit 14c369b

Please sign in to comment.