diff --git a/tests/seccomp.rs b/tests/seccomp.rs index b32154d..70232da 100644 --- a/tests/seccomp.rs +++ b/tests/seccomp.rs @@ -23,11 +23,6 @@ fn main() { let flags = libc::CLONE_NEWUSER as libc::c_ulong; let result = unsafe { libc::syscall(libc::SYS_clone, flags, stack) }; assert_eq!(result, -1); - - // Ensure `clone` is allowed without flags. - let flags = 0; - let result = unsafe { libc::syscall(libc::SYS_clone, flags, stack) }; - assert!(result > 0); } #[cfg(not(target_os = "linux"))]