aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-diff/benchmark/patched_fs.cfg
blob: f59d064421ce4d72827a3875821281befecf20c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
   "name":"patched",
   "http":"0.0.0.0:50544",
   "target":"linux/amd64",
   "kernel_obj":"%KERNEL%",
   "image":"%IMAGE%",
   "syzkaller":"%SYZKALLER%",
   "workdir":"%SYZKALLER%/workdir_fs",
   "type":"qemu",
   "enable_syscalls":[
      "syz_mount_image",
      "open",
      "openat",
      "creat",
      "close",
      "read",
      "pread64",
      "readv",
      "preadv",
      "preadv2",
      "write",
      "pwrite64",
      "writev",
      "pwritev",
      "pwritev2",
      "lseek",
      "copy_file_range",
      "dup",
      "dup2",
      "dup3",
      "tee",
      "splice",
      "vmsplice",
      "sendfile",
      "stat",
      "lstat",
      "fstat",
      "newfstatat",
      "statx",
      "poll",
      "clock_gettime",
      "ppoll",
      "select",
      "pselect6",
      "epoll_create",
      "epoll_create1",
      "epoll_ctl",
      "epoll_wait",
      "epoll_pwait",
      "epoll_pwait2",
      "mmap",
      "munmap",
      "mremap",
      "msync",
      "readahead",
      "fcntl",
      "mknod",
      "mknodat",
      "chmod",
      "fchmod",
      "fchmodat",
      "chown",
      "lchown",
      "fchown",
      "fchownat",
      "fallocate",
      "faccessat",
      "faccessat2",
      "utime",
      "utimes",
      "futimesat",
      "utimensat",
      "link",
      "linkat",
      "symlinkat",
      "symlink",
      "unlink",
      "unlinkat",
      "readlink",
      "readlinkat",
      "rename",
      "renameat",
      "renameat2",
      "mkdir",
      "mkdirat",
      "rmdir",
      "truncate",
      "ftruncate",
      "flock",
      "fsync",
      "fdatasync",
      "sync",
      "syncfs",
      "sync_file_range",
      "getdents",
      "getdents64",
      "name_to_handle_at",
      "open_by_handle_at",
      "chroot",
      "getcwd",
      "chdir",
      "fchdir",
      "quotactl",
      "pivot_root",
      "statfs",
      "fstatfs",
      "syz_open_procfs",
      "syz_read_part_table",
      "mount",
      "fsopen",
      "fspick",
      "fsconfig",
      "fsmount",
      "move_mount",
      "open_tree",
      "mount_setattr",
      "ioctl$FS_*",
      "ioctl$BTRFS*",
      "ioctl$AUTOFS*",
      "ioctl$EXT4*",
      "ioctl$F2FS*",
      "ioctl$FAT*",
      "ioctl$VFAT*",
      "io_setup",
      "io_submit"
   ],
   "disable_syscalls":[
      "syz_mount_image$gfs*",
      "syz_mount_image$hfs*"
   ],
   "procs":3,
   "experimental":{
      "cover_edges":false
   },
   "fuzzing_vms":10,
   "vm":{
      "count":18,
      "cmdline":"root=/dev/sda1",
      "kernel":"%KERNEL%/arch/x86/boot/bzImage",
      "cpu":2,
      "mem":3072,
      "qemu_args":"-machine pc-q35-7.1 -enable-kvm -smp 2,sockets=2,cores=1"
   }
}