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_connect": { 56 "x86": { 57 "custom_reason": "socketcall", 58 "socketcall": "3" 59 } 60 }, 61 "__NR_execve": { 62 "custom_reason": "custom syscall" 63 }, 64 "__NR_execveat": { 65 "custom_reason": "custom syscall" 66 }, 67 "__NR_exit": { 68 "custom_reason": "cleans guest thread" 69 }, 70 "__NR_faccessat": { 71 "custom_reason": "follows symlinks" 72 }, 73 "__NR_fcntl": { 74 "custom_reason": "custom syscall" 75 }, 76 "__NR_fcntl64": { 77 "custom_reason": "custom syscall" 78 }, 79 "__NR_fork": { 80 "custom_reason": "custom syscall" 81 }, 82 "__NR_fstatfs64": { 83 "arm": { 84 "custom_reason": "statfs64 size mismatch" 85 }, 86 "x86": { 87 "custom_reason": "statfs64 size mismatch" 88 } 89 }, 90 "__NR_getpeername": { 91 "x86": { 92 "custom_reason": "socketcall", 93 "socketcall": "7" 94 } 95 }, 96 "__NR_getsockname": { 97 "x86": { 98 "custom_reason": "socketcall", 99 "socketcall": "6" 100 } 101 }, 102 "__NR_getsockopt": { 103 "x86": { 104 "custom_reason": "socketcall", 105 "socketcall": "15" 106 } 107 }, 108 "__NR_ioctl": { 109 "custom_reason": "custom syscall" 110 }, 111 "__NR_listen": { 112 "x86": { 113 "custom_reason": "socketcall", 114 "socketcall": "4" 115 } 116 }, 117 "__NR_lookup_dcookie": { 118 "comment": "64-bit kernel doesn't have this prototype", 119 "x86_64": { 120 "id": "212", 121 "entry": "sys_lookup_dcookie", 122 "params" : [ "unsigned int64", "char8*", "unsigned int64" ] 123 }, 124 "arm64": { 125 "id": "18", 126 "entry": "sys_lookup_dcookie", 127 "params" : [ "unsigned int64", "unsigned char8*", "unsigned int64" ] 128 }, 129 "riscv64": { 130 "id": "18", 131 "entry": "sys_lookup_dcookie", 132 "params" : [ "unsigned int64", "unsigned char8*", "unsigned int64" ] 133 } 134 }, 135 "__NR_mmap": { 136 "custom_reason": "changes memory protection" 137 }, 138 "__NR_mmap2": { 139 "arm": { 140 "params": ["void*", "unsigned int32", "int32", "int32", "int32", "int32"] 141 }, 142 "custom_reason": "changes memory protection" 143 }, 144 "__NR_mprotect": { 145 "custom_reason": "changes memory protection" 146 }, 147 "__NR_mremap": { 148 "custom_reason": "changes memory protection" 149 }, 150 "__NR_munmap": { 151 "custom_reason": "changes memory protection" 152 }, 153 "__NR_newfstatat": { 154 "custom_reason": "follows symlinks" 155 }, 156 "__NR_open": { 157 "custom_reason": "follows symlinks, open flags value mismatch" 158 }, 159 "__NR_openat": { 160 "custom_reason": "follows symlinks, open flags value mismatch" 161 }, 162 "__NR_prctl": { 163 "custom_reason": "custom syscall" 164 }, 165 "__NR_ptrace": { 166 "custom_reason": "custom syscall" 167 }, 168 "__NR_readlink": { 169 "custom_reason": "follows symlinks" 170 }, 171 "__NR_readlinkat": { 172 "custom_reason": "follows symlinks" 173 }, 174 "__NR_recv": { 175 "x86": { 176 "custom_reason": "socketcall", 177 "socketcall": "10" 178 } 179 }, 180 "__NR_recvfrom": { 181 "x86": { 182 "custom_reason": "socketcall", 183 "socketcall": "12" 184 } 185 }, 186 "__NR_recvmmsg": { 187 "x86": { 188 "custom_reason": "socketcall", 189 "socketcall": "19" 190 } 191 }, 192 "__NR_recvmsg": { 193 "x86": { 194 "custom_reason": "socketcall", 195 "socketcall": "17" 196 } 197 }, 198 "__NR_rt_sigaction": { 199 "custom_reason": "changes signal action" 200 }, 201 "__NR_rt_sigreturn": { 202 "custom_reason": "should never be called from guest", 203 "arm64": { 204 "comment": ["arm64 doesn't have this prototype"], 205 "params": [ "struct pt_regs const*" ] 206 }, 207 "riscv64": { 208 "comment": ["riscv64 doesn't have this prototype"], 209 "params": [ "struct pt_regs const*" ] 210 } 211 }, 212 "__NR_send": { 213 "x86": { 214 "custom_reason": "socketcall", 215 "socketcall": "9" 216 } 217 }, 218 "__NR_sendmmsg": { 219 "x86": { 220 "custom_reason": "socketcall", 221 "socketcall": "20" 222 } 223 }, 224 "__NR_sendmsg": { 225 "x86": { 226 "custom_reason": "socketcall", 227 "socketcall": "16" 228 } 229 }, 230 "__NR_sendto": { 231 "x86": { 232 "custom_reason": "socketcall", 233 "socketcall": "11" 234 } 235 }, 236 "__NR_setsockopt": { 237 "x86": { 238 "custom_reason": "socketcall", 239 "socketcall": "14" 240 } 241 }, 242 "__NR_shutdown": { 243 "x86": { 244 "custom_reason": "socketcall", 245 "socketcall": "13" 246 } 247 }, 248 "__NR_sigaction": { 249 "custom_reason": "changes signal action" 250 }, 251 "__NR_sigaltstack": { 252 "custom_reason": "changes signal stack" 253 }, 254 "__NR_socket": { 255 "x86": { 256 "custom_reason": "socketcall", 257 "socketcall": "1" 258 } 259 }, 260 "__NR_socketpair": { 261 "x86": { 262 "custom_reason": "socketcall", 263 "socketcall": "8" 264 } 265 }, 266 "__NR_statfs64": { 267 "arm": { 268 "custom_reason": "statfs64 size mismatch" 269 }, 270 "x86": { 271 "custom_reason": "statfs64 size mismatch" 272 } 273 }, 274 "__NR_statx": { 275 "custom_reason": "follows symlinks" 276 }, 277 "__NR_vfork": { 278 "custom_reason": "custom syscall" 279 } 280} 281