From ef44b750e8fab8d6d5cb84920680581b13e0d470 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Fri, 7 Feb 2025 13:51:20 +0100 Subject: all: fix recvcheck errors --- pkg/fuzzer/queue/queue.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pkg/fuzzer') diff --git a/pkg/fuzzer/queue/queue.go b/pkg/fuzzer/queue/queue.go index 1b98d768e..37e69837f 100644 --- a/pkg/fuzzer/queue/queue.go +++ b/pkg/fuzzer/queue/queue.go @@ -16,7 +16,6 @@ import ( "github.com/google/syzkaller/pkg/flatrpc" "github.com/google/syzkaller/pkg/hash" - "github.com/google/syzkaller/pkg/signal" "github.com/google/syzkaller/pkg/stat" "github.com/google/syzkaller/prog" ) @@ -32,11 +31,6 @@ type Request struct { BinaryFile string // for RequestTypeBinary GlobPattern string // for RequestTypeGlob - // If specified, the resulting signal for call SignalFilterCall - // will include subset of it even if it's not new. - SignalFilter signal.Signal - SignalFilterCall int - // Return all signal for these calls instead of new signal. ReturnAllSignal []int ReturnError bool @@ -123,9 +117,6 @@ func (r *Request) Validate() error { if len(r.ReturnAllSignal) != 0 && !collectSignal { return fmt.Errorf("ReturnAllSignal is set, but FlagCollectSignal is not") } - if r.SignalFilter != nil && !collectSignal { - return fmt.Errorf("SignalFilter must be used with FlagCollectSignal") - } collectComps := r.ExecOpts.ExecFlags&flatrpc.ExecFlagCollectComps > 0 collectCover := r.ExecOpts.ExecFlags&flatrpc.ExecFlagCollectCover > 0 if (collectComps) && (collectSignal || collectCover) { -- cgit mrf-deployment