aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/targets/targets.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/targets/targets.go b/sys/targets/targets.go
index a5946cf16..a803cc31b 100644
--- a/sys/targets/targets.go
+++ b/sys/targets/targets.go
@@ -457,7 +457,11 @@ var oses = map[string]osCommon{
ExecutorUsesShmem: true,
ExecutorUsesForkServer: true,
KernelObject: "vmlinux",
- cflags: []string{"-static-pie"},
+ PseudoSyscallDeps: map[string][]string{
+ "syz_read_part_table": []string{"memfd_create"},
+ "syz_mount_image": []string{"memfd_create"},
+ },
+ cflags: []string{"-static-pie"},
},
FreeBSD: {
SyscallNumbers: true,