aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host/host.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/host/host.go')
-rw-r--r--pkg/host/host.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/host/host.go b/pkg/host/host.go
index 6394dd4a0..d048b2ade 100644
--- a/pkg/host/host.go
+++ b/pkg/host/host.go
@@ -21,7 +21,13 @@ func DetectSupportedSyscalls(target *prog.Target, sandbox string) (
return supported, unsupported, nil
}
for _, c := range target.Syscalls {
- ok, reason := isSupported(c, sandbox)
+ ok, reason := false, ""
+ switch c.CallName {
+ case "syz_execute_func":
+ ok = true
+ default:
+ ok, reason = isSupported(c, sandbox)
+ }
if ok {
supported[c] = true
} else {