1{ 2 "__ARM_NR_cacheflush": { 3 "arm": { 4 "custom_reason": "custom syscall", 5 "id": "0x0f0002", 6 "params": ["void*", "void*", "int32"] 7 } 8 }, 9 "__ARM_NR_set_tls": { 10 "arm": { 11 "custom_reason": "custom syscall", 12 "id": "0x0f0005", 13 "params": ["void*"] 14 } 15 }, 16 "__NR_accept": { 17 "x86": { 18 "custom_reason": "socketcall", 19 "socketcall": "5" 20 } 21 }, 22 "__NR_accept4": { 23 "x86": { 24 "custom_reason": "socketcall", 25 "socketcall": "18" 26 } 27 }, 28 "__NR_acct": { 29 "arm64": { 30 "comment": "64-bit kernel doesn't have this prototype", 31 "params": ["unsigned char8 const*"] 32 }, 33 "riscv64": { 34 "comment": "64-bit kernel doesn't have this prototype", 35 "params": ["unsigned char8 const*"] 36 } 37 }, 38 "__NR_arm_fadvise64_64": { 39 "arm": { 40 "params": ["int32", "int32", "int64", "int64"] 41 } 42 }, 43 "__NR_bind": { 44 "x86": { 45 "custom_reason": "socketcall", 46 "socketcall": "2" 47 } 48 }, 49 "__NR_clone": { 50 "custom_reason": "custom syscall" 51 }, 52 "__NR_clone3": { 53 "custom_reason": "custom syscall" 54 }, 55 "__NR_close": { 56 "custom_reason": "/proc/self/maps emulation" 57 }, 58 "__NR_connect": { 59 "x86": { 60 "custom_reason": "socketcall", 61 "socketcall": "3" 62 } 63 }, 64 "__NR_execve": { 65 "custom_reason": "custom syscall" 66 }, 67 "__NR_execveat": { 68 "custom_reason": "custom syscall" 69 }, 70 "__NR_exit": { 71 "custom_reason": "cleans guest thread" 72 }, 73 "__NR_faccessat": { 74 "custom_reason": "follows symlinks" 75 }, 76 "__NR_fcntl": { 77 "custom_reason": "custom syscall" 78 }, 79 "__NR_fcntl64": { 80 "custom_reason": "custom syscall" 81 }, 82 "__NR_fork": { 83 "custom_reason": "custom syscall" 84 }, 85 "__NR_fstat": { 86 "x86": { 87 "custom_reason": "/proc/self/maps emulation" 88 }, 89 "x86_64": { 90 "custom_reason": "incompatible prototype and /proc/self/maps emulation" 91 } 92 }, 93 "__NR_fstatfs": { 94 "custom_reason": "/proc/self/maps emulation" 95 }, 96 "__NR_fstatfs64": { 97 "arm": { 98 "custom_reason": "statfs64 size mismatch" 99 }, 100 "x86": { 101 "custom_reason": "statfs64 size mismatch" 102 } 103 }, 104 "__NR_getpeername": { 105 "x86": { 106 "custom_reason": "socketcall", 107 "socketcall": "7" 108 } 109 }, 110 "__NR_getsockname": { 111 "x86": { 112 "custom_reason": "socketcall", 113 "socketcall": "6" 114 } 115 }, 116 "__NR_getsockopt": { 117 "x86": { 118 "custom_reason": "socketcall", 119 "socketcall": "15" 120 } 121 }, 122 "__NR_ioctl": { 123 "custom_reason": "custom syscall" 124 }, 125 "__NR_listen": { 126 "x86": { 127 "custom_reason": "socketcall", 128 "socketcall": "4" 129 } 130 }, 131 "__NR_lookup_dcookie": { 132 "comment": "64-bit kernel doesn't have this prototype", 133 "x86_64": { 134 "id": "212", 135 "entry": "sys_lookup_dcookie", 136 "params" : [ "unsigned int64", "char8*", "unsigned int64" ] 137 }, 138 "arm64": { 139 "id": "18", 140 "entry": "sys_lookup_dcookie", 141 "params" : [ "unsigned int64", "unsigned char8*", "unsigned int64" ] 142 }, 143 "riscv64": { 144 "id": "18", 145 "entry": "sys_lookup_dcookie", 146 "params" : [ "unsigned int64", "unsigned char8*", "unsigned int64" ] 147 } 148 }, 149 "__NR_mmap": { 150 "custom_reason": "changes memory protection" 151 }, 152 "__NR_mmap2": { 153 "arm": { 154 "params": ["void*", "unsigned int32", "int32", "int32", "int32", "int32"] 155 }, 156 "custom_reason": "changes memory protection" 157 }, 158 "__NR_mprotect": { 159 "custom_reason": "changes memory protection" 160 }, 161 "__NR_mremap": { 162 "custom_reason": "changes memory protection" 163 }, 164 "__NR_munmap": { 165 "custom_reason": "changes memory protection" 166 }, 167 "__NR_newfstatat": { 168 "custom_reason": "follows symlinks" 169 }, 170 "__NR_open": { 171 "custom_reason": "follows symlinks, open flags value mismatch" 172 }, 173 "__NR_openat": { 174 "custom_reason": "follows symlinks, open flags value mismatch" 175 }, 176 "__NR_prctl": { 177 "custom_reason": "custom syscall" 178 }, 179 "__NR_ptrace": { 180 "custom_reason": "custom syscall" 181 }, 182 "__NR_readlink": { 183 "custom_reason": "follows symlinks" 184 }, 185 "__NR_readlinkat": { 186 "custom_reason": "follows symlinks" 187 }, 188 "__NR_recv": { 189 "x86": { 190 "custom_reason": "socketcall", 191 "socketcall": "10" 192 } 193 }, 194 "__NR_recvfrom": { 195 "x86": { 196 "custom_reason": "socketcall", 197 "socketcall": "12" 198 } 199 }, 200 "__NR_recvmmsg": { 201 "x86": { 202 "custom_reason": "socketcall", 203 "socketcall": "19" 204 } 205 }, 206 "__NR_recvmsg": { 207 "x86": { 208 "custom_reason": "socketcall", 209 "socketcall": "17" 210 } 211 }, 212 "__NR_riscv_flush_icache": { 213 "riscv64": { 214 "id": "259", 215 "params": ["void*", "void*", "int32"] 216 } 217 }, 218 "__NR_riscv_hwprobe": { 219 "riscv64": { 220 "id": "258", 221 "params": ["struct riscv_hwprobe*", "size_t", "size_t", "unsigned long*", "unsigned int"] 222 } 223 }, 224 "__NR_rt_sigaction": { 225 "custom_reason": "changes signal action" 226 }, 227 "__NR_rt_sigreturn": { 228 "custom_reason": "should never be called from guest", 229 "arm64": { 230 "comment": ["arm64 doesn't have this prototype"], 231 "params": [ "struct pt_regs const*" ] 232 }, 233 "riscv64": { 234 "comment": ["riscv64 doesn't have this prototype"], 235 "params": [ "struct pt_regs const*" ] 236 } 237 }, 238 "__NR_send": { 239 "x86": { 240 "custom_reason": "socketcall", 241 "socketcall": "9" 242 } 243 }, 244 "__NR_sendmmsg": { 245 "x86": { 246 "custom_reason": "socketcall", 247 "socketcall": "20" 248 } 249 }, 250 "__NR_sendmsg": { 251 "x86": { 252 "custom_reason": "socketcall", 253 "socketcall": "16" 254 } 255 }, 256 "__NR_sendto": { 257 "x86": { 258 "custom_reason": "socketcall", 259 "socketcall": "11" 260 } 261 }, 262 "__NR_setsockopt": { 263 "x86": { 264 "custom_reason": "socketcall", 265 "socketcall": "14" 266 } 267 }, 268 "__NR_shutdown": { 269 "x86": { 270 "custom_reason": "socketcall", 271 "socketcall": "13" 272 } 273 }, 274 "__NR_sigaction": { 275 "custom_reason": "changes signal action" 276 }, 277 "__NR_sigaltstack": { 278 "custom_reason": "changes signal stack" 279 }, 280 "__NR_socket": { 281 "x86": { 282 "custom_reason": "socketcall", 283 "socketcall": "1" 284 } 285 }, 286 "__NR_socketpair": { 287 "x86": { 288 "custom_reason": "socketcall", 289 "socketcall": "8" 290 } 291 }, 292 "__NR_statfs64": { 293 "arm": { 294 "custom_reason": "statfs64 size mismatch" 295 }, 296 "x86": { 297 "custom_reason": "statfs64 size mismatch" 298 } 299 }, 300 "__NR_statx": { 301 "custom_reason": "follows symlinks" 302 }, 303 "__NR_vfork": { 304 "custom_reason": "custom syscall" 305 } 306} 307