1 /* 2 * Copyright (C) 2015 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #include <linux/filter.h> 18 19 // This file defines a sample seccomp-bpf policy. It is taken from the 20 // Chromium renderer process policy applied to isolatedProcess services. 21 // 22 // In the future, this policy should be further restricted to just the set 23 // of system calls that an isolatedProcess should be allowed to make. 24 25 #if defined(__arm__) 26 struct sock_filter kTestSeccompFilter[] = { 27 {0x20, 0, 0, 0x4}, 28 {0x15, 1, 0, 0x40000028}, 29 {0x6, 0, 0, 0x30006}, 30 {0x20, 0, 0, 0x0}, 31 {0x35, 0, 90, 0xab}, 32 {0x35, 0, 43, 0x108}, 33 {0x35, 0, 21, 0x14f}, 34 {0x35, 0, 10, 0x168}, 35 {0x35, 0, 5, 0x181}, 36 {0x35, 0, 2, 0xf0006}, 37 {0x35, 0, 72, 0xffff0}, 38 {0x35, 71, 67, 0xffff1}, 39 {0x35, 0, 67, 0x182}, 40 {0x35, 65, 69, 0xf0001}, 41 {0x35, 0, 2, 0x16f}, 42 {0x35, 0, 67, 0x17e}, 43 {0x35, 66, 63, 0x180}, 44 {0x35, 62, 65, 0x16e}, 45 {0x35, 0, 5, 0x15b}, 46 {0x35, 0, 2, 0x160}, 47 {0x35, 0, 59, 0x161}, 48 {0x35, 57, 61, 0x165}, 49 {0x35, 0, 60, 0x15c}, 50 {0x35, 59, 56, 0x15d}, 51 {0x35, 0, 2, 0x152}, 52 {0x35, 0, 54, 0x153}, 53 {0x35, 52, 56, 0x15a}, 54 {0x35, 55, 51, 0x151}, 55 {0x35, 0, 10, 0x121}, 56 {0x35, 0, 5, 0x138}, 57 {0x35, 0, 2, 0x143}, 58 {0x35, 0, 48, 0x147}, 59 {0x35, 47, 46, 0x148}, 60 {0x35, 0, 46, 0x139}, 61 {0x35, 44, 48, 0x142}, 62 {0x35, 0, 2, 0x127}, 63 {0x35, 0, 42, 0x12a}, 64 {0x35, 45, 42, 0x135}, 65 {0x35, 44, 40, 0x126}, 66 {0x35, 0, 4, 0x10e}, 67 {0x35, 0, 2, 0x119}, 68 {0x35, 0, 38, 0x11e}, 69 {0x35, 137, 40, 0x120}, 70 {0x35, 35, 39, 0x118}, 71 {0x35, 0, 3, 0x10b}, 72 {0x35, 0, 37, 0x10c}, 73 {0x35, 33, 0, 0x10d}, 74 {0x5, 0, 0, 0x11c}, 75 {0x35, 31, 34, 0x10a}, 76 {0x35, 0, 22, 0xce}, 77 {0x35, 0, 11, 0xee}, 78 {0x35, 0, 5, 0xf9}, 79 {0x35, 0, 2, 0x100}, 80 {0x35, 0, 25, 0x101}, 81 {0x35, 129, 28, 0x107}, 82 {0x35, 0, 24, 0xfa}, 83 {0x35, 26, 22, 0xfd}, 84 {0x35, 0, 2, 0xf0}, 85 {0x35, 0, 149, 0xf1}, 86 {0x35, 19, 23, 0xf8}, 87 {0x35, 22, 0, 0xef}, 88 {0x5, 0, 0, 0x113}, 89 {0x35, 0, 5, 0xda}, 90 {0x35, 0, 2, 0xde}, 91 {0x35, 0, 18, 0xe0}, 92 {0x35, 17, 13, 0xe1}, 93 {0x35, 0, 16, 0xdc}, 94 {0x35, 224, 175, 0xdd}, 95 {0x35, 0, 2, 0xd2}, 96 {0x35, 0, 10, 0xd3}, 97 {0x35, 9, 8, 0xd4}, 98 {0x35, 7, 8, 0xd1}, 99 {0x35, 0, 13, 0xb9}, 100 {0x35, 0, 7, 0xc1}, 101 {0x35, 0, 2, 0xc7}, 102 {0x35, 0, 3, 0xcb}, 103 {0x35, 2, 3, 0xcd}, 104 {0x35, 0, 2, 0xc5}, 105 {0x35, 1, 0, 0xc6}, 106 {0x5, 0, 0, 0x103}, 107 {0x5, 0, 0, 0x101}, 108 {0x35, 0, 3, 0xbb}, 109 {0x35, 1, 0, 0xbf}, 110 {0x5, 0, 0, 0x100}, 111 {0x35, 162, 254, 0xc0}, 112 {0x35, 253, 252, 0xba}, 113 {0x35, 0, 4, 0xb2}, 114 {0x35, 0, 2, 0xb5}, 115 {0x35, 0, 251, 0xb6}, 116 {0x35, 249, 248, 0xb8}, 117 {0x35, 248, 249, 0xb4}, 118 {0x35, 0, 2, 0xad}, 119 {0x35, 0, 246, 0xb0}, 120 {0x35, 245, 246, 0xb1}, 121 {0x35, 156, 244, 0xac}, 122 {0x35, 0, 42, 0x52}, 123 {0x35, 0, 21, 0x7e}, 124 {0x35, 0, 10, 0x96}, 125 {0x35, 0, 5, 0xa4}, 126 {0x35, 0, 2, 0xa8}, 127 {0x35, 0, 238, 0xa9}, 128 {0x35, 236, 238, 0xaa}, 129 {0x35, 0, 235, 0xa5}, 130 {0x35, 236, 235, 0xa6}, 131 {0x35, 0, 2, 0x9e}, 132 {0x35, 0, 233, 0x9f}, 133 {0x35, 232, 233, 0xa2}, 134 {0x35, 232, 231, 0x98}, 135 {0x35, 0, 5, 0x8c}, 136 {0x35, 0, 2, 0x90}, 137 {0x35, 0, 229, 0x91}, 138 {0x35, 228, 227, 0x94}, 139 {0x35, 0, 226, 0x8d}, 140 {0x35, 225, 224, 0x8e}, 141 {0x35, 0, 2, 0x85}, 142 {0x35, 0, 222, 0x86}, 143 {0x35, 221, 223, 0x8a}, 144 {0x35, 222, 221, 0x7f}, 145 {0x35, 0, 10, 0x64}, 146 {0x35, 0, 5, 0x73}, 147 {0x35, 0, 2, 0x7a}, 148 {0x35, 0, 217, 0x7b}, 149 {0x35, 165, 217, 0x7d}, 150 {0x35, 0, 216, 0x77}, 151 {0x35, 215, 214, 0x79}, 152 {0x35, 0, 2, 0x6c}, 153 {0x35, 0, 212, 0x6d}, 154 {0x35, 211, 212, 0x72}, 155 {0x35, 209, 211, 0x6a}, 156 {0x35, 0, 4, 0x5b}, 157 {0x35, 0, 2, 0x60}, 158 {0x35, 0, 207, 0x62}, 159 {0x35, 205, 207, 0x63}, 160 {0x35, 204, 205, 0x5c}, 161 {0x35, 0, 2, 0x54}, 162 {0x35, 0, 204, 0x55}, 163 {0x35, 203, 201, 0x57}, 164 {0x35, 200, 202, 0x53}, 165 {0x35, 0, 21, 0x2d}, 166 {0x35, 0, 10, 0x3e}, 167 {0x35, 0, 5, 0x46}, 168 {0x35, 0, 2, 0x4f}, 169 {0x35, 0, 197, 0x50}, 170 {0x35, 194, 195, 0x51}, 171 {0x35, 0, 193, 0x48}, 172 {0x35, 193, 194, 0x4e}, 173 {0x35, 0, 2, 0x41}, 174 {0x35, 0, 192, 0x43}, 175 {0x35, 191, 190, 0x44}, 176 {0x35, 189, 188, 0x3f}, 177 {0x35, 0, 5, 0x33}, 178 {0x35, 0, 2, 0x38}, 179 {0x35, 0, 187, 0x3c}, 180 {0x35, 186, 184, 0x3d}, 181 {0x35, 0, 185, 0x36}, 182 {0x35, 136, 183, 0x37}, 183 {0x35, 0, 2, 0x2f}, 184 {0x35, 0, 181, 0x30}, 185 {0x35, 180, 181, 0x31}, 186 {0x35, 178, 179, 0x2e}, 187 {0x35, 0, 10, 0x17}, 188 {0x35, 0, 5, 0x21}, 189 {0x35, 0, 2, 0x26}, 190 {0x35, 0, 174, 0x29}, 191 {0x35, 175, 174, 0x2b}, 192 {0x35, 0, 172, 0x22}, 193 {0x35, 165, 173, 0x25}, 194 {0x35, 0, 2, 0x19}, 195 {0x35, 0, 171, 0x1d}, 196 {0x35, 170, 169, 0x1e}, 197 {0x35, 168, 167, 0x18}, 198 {0x35, 0, 4, 0xd}, 199 {0x35, 0, 2, 0x11}, 200 {0x35, 0, 166, 0x13}, 201 {0x35, 165, 164, 0x15}, 202 {0x35, 162, 164, 0xe}, 203 {0x35, 0, 2, 0x3}, 204 {0x35, 0, 161, 0x7}, 205 {0x35, 159, 161, 0x8}, 206 {0x35, 158, 159, 0x2}, 207 {0x20, 0, 0, 0x14}, 208 {0x15, 0, 152, 0x0}, 209 {0x20, 0, 0, 0x10}, 210 {0x15, 155, 156, 0x1}, 211 {0x20, 0, 0, 0x14}, 212 {0x15, 0, 148, 0x0}, 213 {0x20, 0, 0, 0x10}, 214 {0x15, 151, 0, 0x1}, 215 {0x20, 0, 0, 0x14}, 216 {0x15, 0, 144, 0x0}, 217 {0x20, 0, 0, 0x10}, 218 {0x15, 147, 0, 0x6}, 219 {0x20, 0, 0, 0x14}, 220 {0x15, 0, 140, 0x0}, 221 {0x20, 0, 0, 0x10}, 222 {0x15, 143, 0, 0x2}, 223 {0x20, 0, 0, 0x14}, 224 {0x15, 0, 136, 0x0}, 225 {0x20, 0, 0, 0x10}, 226 {0x15, 139, 0, 0x0}, 227 {0x20, 0, 0, 0x14}, 228 {0x15, 0, 132, 0x0}, 229 {0x20, 0, 0, 0x10}, 230 {0x15, 135, 0, 0x5}, 231 {0x20, 0, 0, 0x14}, 232 {0x15, 0, 128, 0x0}, 233 {0x20, 0, 0, 0x10}, 234 {0x15, 131, 132, 0x3}, 235 {0x20, 0, 0, 0x1c}, 236 {0x15, 0, 124, 0x0}, 237 {0x20, 0, 0, 0x18}, 238 {0x45, 0, 127, 0xfffffe7f}, 239 {0x20, 0, 0, 0x1c}, 240 {0x15, 0, 120, 0x0}, 241 {0x20, 0, 0, 0x18}, 242 {0x54, 0, 0, 0xfffffe7f}, 243 {0x15, 122, 0, 0x1}, 244 {0x20, 0, 0, 0x1c}, 245 {0x15, 0, 115, 0x0}, 246 {0x20, 0, 0, 0x18}, 247 {0x54, 0, 0, 0xfffffe7f}, 248 {0x15, 117, 0, 0x3}, 249 {0x20, 0, 0, 0x1c}, 250 {0x15, 0, 110, 0x0}, 251 {0x20, 0, 0, 0x18}, 252 {0x54, 0, 0, 0xfffffe7f}, 253 {0x15, 112, 0, 0x4}, 254 {0x20, 0, 0, 0x1c}, 255 {0x15, 0, 105, 0x0}, 256 {0x20, 0, 0, 0x18}, 257 {0x54, 0, 0, 0xfffffe7f}, 258 {0x15, 107, 0, 0x5}, 259 {0x20, 0, 0, 0x1c}, 260 {0x15, 0, 100, 0x0}, 261 {0x20, 0, 0, 0x18}, 262 {0x54, 0, 0, 0xfffffe7f}, 263 {0x15, 102, 0, 0x9}, 264 {0x20, 0, 0, 0x1c}, 265 {0x15, 0, 95, 0x0}, 266 {0x20, 0, 0, 0x18}, 267 {0x54, 0, 0, 0xfffffe7f}, 268 {0x15, 97, 0, 0xa}, 269 {0x6, 0, 0, 0x30005}, 270 {0x20, 0, 0, 0x24}, 271 {0x15, 0, 89, 0x0}, 272 {0x20, 0, 0, 0x20}, 273 {0x15, 92, 91, 0x4}, 274 {0x20, 0, 0, 0x2c}, 275 {0x15, 0, 85, 0x0}, 276 {0x20, 0, 0, 0x28}, 277 {0x45, 89, 88, 0xfffdb7cc}, 278 {0x20, 0, 0, 0x14}, 279 {0x15, 0, 81, 0x0}, 280 {0x20, 0, 0, 0x10}, 281 {0x15, 84, 0, 0x10}, 282 {0x20, 0, 0, 0x14}, 283 {0x15, 0, 77, 0x0}, 284 {0x20, 0, 0, 0x10}, 285 {0x15, 80, 0, 0xf}, 286 {0x20, 0, 0, 0x14}, 287 {0x15, 0, 73, 0x0}, 288 {0x20, 0, 0, 0x10}, 289 {0x15, 76, 0, 0x3}, 290 {0x20, 0, 0, 0x14}, 291 {0x15, 0, 69, 0x0}, 292 {0x20, 0, 0, 0x10}, 293 {0x15, 72, 0, 0x4}, 294 {0x20, 0, 0, 0x14}, 295 {0x15, 0, 65, 0x0}, 296 {0x20, 0, 0, 0x10}, 297 {0x15, 68, 0, 0x53564d41}, 298 {0x20, 0, 0, 0x14}, 299 {0x15, 0, 61, 0x0}, 300 {0x20, 0, 0, 0x10}, 301 {0x15, 64, 0, 0x59616d61}, 302 {0x20, 0, 0, 0x14}, 303 {0x15, 0, 57, 0x0}, 304 {0x20, 0, 0, 0x10}, 305 {0x15, 60, 0, 0x29}, 306 {0x20, 0, 0, 0x14}, 307 {0x15, 0, 53, 0x0}, 308 {0x20, 0, 0, 0x10}, 309 {0x15, 56, 0, 0x2b}, 310 {0x20, 0, 0, 0x14}, 311 {0x15, 0, 49, 0x0}, 312 {0x20, 0, 0, 0x10}, 313 {0x15, 52, 0, 0x7f}, 314 {0x6, 0, 0, 0x30004}, 315 {0x20, 0, 0, 0x24}, 316 {0x15, 0, 44, 0x0}, 317 {0x20, 0, 0, 0x20}, 318 {0x45, 48, 47, 0xfffffff8}, 319 {0x20, 0, 0, 0x1c}, 320 {0x15, 0, 40, 0x0}, 321 {0x20, 0, 0, 0x18}, 322 {0x15, 43, 0, 0x3}, 323 {0x20, 0, 0, 0x1c}, 324 {0x15, 0, 36, 0x0}, 325 {0x20, 0, 0, 0x18}, 326 {0x15, 39, 0, 0x1}, 327 {0x20, 0, 0, 0x1c}, 328 {0x15, 0, 32, 0x0}, 329 {0x20, 0, 0, 0x18}, 330 {0x15, 35, 0, 0x2}, 331 {0x20, 0, 0, 0x1c}, 332 {0x15, 0, 28, 0x0}, 333 {0x20, 0, 0, 0x18}, 334 {0x15, 31, 0, 0x6}, 335 {0x20, 0, 0, 0x1c}, 336 {0x15, 0, 24, 0x0}, 337 {0x20, 0, 0, 0x18}, 338 {0x15, 27, 0, 0x7}, 339 {0x20, 0, 0, 0x1c}, 340 {0x15, 0, 20, 0x0}, 341 {0x20, 0, 0, 0x18}, 342 {0x15, 23, 0, 0x5}, 343 {0x20, 0, 0, 0x1c}, 344 {0x15, 0, 16, 0x0}, 345 {0x20, 0, 0, 0x18}, 346 {0x15, 19, 0, 0x0}, 347 {0x20, 0, 0, 0x1c}, 348 {0x15, 0, 12, 0x0}, 349 {0x20, 0, 0, 0x18}, 350 {0x15, 15, 0, 0x406}, 351 {0x20, 0, 0, 0x1c}, 352 {0x15, 0, 8, 0x0}, 353 {0x20, 0, 0, 0x18}, 354 {0x15, 0, 12, 0x4}, 355 {0x20, 0, 0, 0x24}, 356 {0x15, 0, 4, 0x0}, 357 {0x20, 0, 0, 0x20}, 358 {0x45, 8, 7, 0xfff1e3fc}, 359 {0x20, 0, 0, 0x14}, 360 {0x15, 1, 0, 0x0}, 361 {0x6, 0, 0, 0x30003}, 362 {0x20, 0, 0, 0x10}, 363 {0x15, 2, 0, 0xfc1}, 364 {0x6, 0, 0, 0x30002}, 365 {0x6, 0, 0, 0x50001}, 366 {0x6, 0, 0, 0x7fff0000}, 367 {0x6, 0, 0, 0x30001}, 368 }; 369 #elif defined(__aarch64__) 370 struct sock_filter kTestSeccompFilter[] = { 371 {0x20, 0, 0, 0x4}, 372 {0x15, 1, 0, 0xc00000b7}, 373 {0x6, 0, 0, 0x30006}, 374 {0x20, 0, 0, 0x0}, 375 {0x35, 0, 51, 0x88}, 376 {0x35, 0, 25, 0xba}, 377 {0x35, 0, 12, 0xdf}, 378 {0x35, 0, 6, 0xea}, 379 {0x35, 0, 3, 0x104}, 380 {0x35, 0, 1, 0x114}, 381 {0x35, 95, 104, 0x116}, 382 {0x35, 94, 104, 0x105}, 383 {0x35, 0, 93, 0xf2}, 384 {0x35, 92, 101, 0xf3}, 385 {0x35, 0, 2, 0xe4}, 386 {0x35, 0, 100, 0xe6}, 387 {0x35, 90, 89, 0xe9}, 388 {0x35, 0, 88, 0xe2}, 389 {0x35, 87, 98, 0xe3}, 390 {0x35, 0, 6, 0xd1}, 391 {0x35, 0, 3, 0xd9}, 392 {0x35, 0, 1, 0xdd}, 393 {0x35, 101, 92, 0xde}, 394 {0x35, 92, 82, 0xdc}, 395 {0x35, 0, 91, 0xd5}, 396 {0x35, 90, 80, 0xd6}, 397 {0x35, 0, 2, 0xcc}, 398 {0x35, 0, 78, 0xce}, 399 {0x35, 77, 87, 0xd0}, 400 {0x35, 0, 85, 0xc7}, 401 {0x35, 84, 100, 0xc8}, 402 {0x35, 0, 12, 0x9e}, 403 {0x35, 0, 6, 0xa6}, 404 {0x35, 0, 3, 0xa9}, 405 {0x35, 0, 1, 0xac}, 406 {0x35, 70, 80, 0xb3}, 407 {0x35, 69, 79, 0xaa}, 408 {0x35, 0, 77, 0xa7}, 409 {0x35, 67, 99, 0xa8}, 410 {0x35, 0, 2, 0xa1}, 411 {0x35, 0, 65, 0xa3}, 412 {0x35, 64, 74, 0xa4}, 413 {0x35, 0, 73, 0x9f}, 414 {0x35, 72, 71, 0xa0}, 415 {0x35, 0, 6, 0x94}, 416 {0x35, 0, 3, 0x97}, 417 {0x35, 0, 1, 0x9c}, 418 {0x35, 58, 68, 0x9d}, 419 {0x35, 57, 66, 0x99}, 420 {0x35, 0, 66, 0x95}, 421 {0x35, 65, 64, 0x96}, 422 {0x35, 0, 2, 0x8b}, 423 {0x35, 0, 63, 0x8e}, 424 {0x35, 61, 52, 0x8f}, 425 {0x35, 0, 51, 0x89}, 426 {0x35, 50, 60, 0x8a}, 427 {0x35, 0, 25, 0x4e}, 428 {0x35, 0, 12, 0x65}, 429 {0x35, 0, 6, 0x80}, 430 {0x35, 0, 3, 0x83}, 431 {0x35, 0, 1, 0x85}, 432 {0x35, 54, 44, 0x86}, 433 {0x35, 53, 139, 0x84}, 434 {0x35, 0, 52, 0x81}, 435 {0x35, 144, 137, 0x82}, 436 {0x35, 0, 2, 0x72}, 437 {0x35, 0, 39, 0x7c}, 438 {0x35, 38, 48, 0x7d}, 439 {0x35, 0, 47, 0x66}, 440 {0x35, 140, 36, 0x71}, 441 {0x35, 0, 6, 0x5b}, 442 {0x35, 0, 3, 0x61}, 443 {0x35, 0, 1, 0x63}, 444 {0x35, 32, 41, 0x64}, 445 {0x35, 177, 31, 0x62}, 446 {0x35, 0, 39, 0x5c}, 447 {0x35, 39, 29, 0x5d}, 448 {0x35, 0, 2, 0x58}, 449 {0x35, 0, 36, 0x59}, 450 {0x35, 36, 26, 0x5a}, 451 {0x35, 0, 34, 0x4f}, 452 {0x35, 24, 34, 0x51}, 453 {0x35, 0, 12, 0x2c}, 454 {0x35, 0, 6, 0x3b}, 455 {0x35, 0, 3, 0x3e}, 456 {0x35, 0, 1, 0x48}, 457 {0x35, 19, 29, 0x4a}, 458 {0x35, 18, 28, 0x44}, 459 {0x35, 0, 27, 0x3c}, 460 {0x35, 25, 16, 0x3d}, 461 {0x35, 0, 2, 0x34}, 462 {0x35, 0, 23, 0x38}, 463 {0x35, 13, 23, 0x3a}, 464 {0x35, 0, 12, 0x2d}, 465 {0x35, 11, 20, 0x33}, 466 {0x35, 0, 5, 0x1d}, 467 {0x35, 0, 2, 0x21}, 468 {0x35, 0, 17, 0x27}, 469 {0x35, 16, 7, 0x2b}, 470 {0x35, 0, 16, 0x1e}, 471 {0x35, 15, 5, 0x20}, 472 {0x35, 0, 2, 0x14}, 473 {0x35, 0, 13, 0x19}, 474 {0x35, 2, 204, 0x1a}, 475 {0x35, 0, 1, 0x11}, 476 {0x35, 0, 9, 0x13}, 477 {0x5, 0, 0, 0x10f}, 478 {0x20, 0, 0, 0x24}, 479 {0x15, 4, 0, 0x0}, 480 {0x15, 0, 2, 0xffffffff}, 481 {0x20, 0, 0, 0x20}, 482 {0x45, 1, 0, 0x80000000}, 483 {0x5, 0, 0, 0x100}, 484 {0x20, 0, 0, 0x20}, 485 {0x15, 1, 0, 0x4}, 486 {0x5, 0, 0, 0x105}, 487 {0x5, 0, 0, 0x103}, 488 {0x20, 0, 0, 0x24}, 489 {0x15, 3, 0, 0x0}, 490 {0x15, 0, 249, 0xffffffff}, 491 {0x20, 0, 0, 0x20}, 492 {0x45, 0, 247, 0x80000000}, 493 {0x20, 0, 0, 0x20}, 494 {0x45, 254, 252, 0xfffffff8}, 495 {0x20, 0, 0, 0x2c}, 496 {0x15, 3, 0, 0x0}, 497 {0x15, 0, 242, 0xffffffff}, 498 {0x20, 0, 0, 0x28}, 499 {0x45, 0, 240, 0x80000000}, 500 {0x20, 0, 0, 0x28}, 501 {0x45, 247, 245, 0xfffdb7cc}, 502 {0x20, 0, 0, 0x14}, 503 {0x15, 3, 0, 0x0}, 504 {0x15, 0, 235, 0xffffffff}, 505 {0x20, 0, 0, 0x10}, 506 {0x45, 0, 233, 0x80000000}, 507 {0x20, 0, 0, 0x10}, 508 {0x15, 238, 240, 0x1}, 509 {0x20, 0, 0, 0x14}, 510 {0x15, 3, 0, 0x0}, 511 {0x15, 0, 228, 0xffffffff}, 512 {0x20, 0, 0, 0x10}, 513 {0x45, 0, 226, 0x80000000}, 514 {0x20, 0, 0, 0x10}, 515 {0x15, 231, 0, 0x10}, 516 {0x20, 0, 0, 0x14}, 517 {0x15, 3, 0, 0x0}, 518 {0x15, 0, 221, 0xffffffff}, 519 {0x20, 0, 0, 0x10}, 520 {0x45, 0, 219, 0x80000000}, 521 {0x20, 0, 0, 0x10}, 522 {0x15, 224, 0, 0xf}, 523 {0x20, 0, 0, 0x14}, 524 {0x15, 3, 0, 0x0}, 525 {0x15, 0, 214, 0xffffffff}, 526 {0x20, 0, 0, 0x10}, 527 {0x45, 0, 212, 0x80000000}, 528 {0x20, 0, 0, 0x10}, 529 {0x15, 217, 0, 0x3}, 530 {0x20, 0, 0, 0x14}, 531 {0x15, 3, 0, 0x0}, 532 {0x15, 0, 207, 0xffffffff}, 533 {0x20, 0, 0, 0x10}, 534 {0x45, 0, 205, 0x80000000}, 535 {0x20, 0, 0, 0x10}, 536 {0x15, 210, 0, 0x4}, 537 {0x20, 0, 0, 0x14}, 538 {0x15, 3, 0, 0x0}, 539 {0x15, 0, 200, 0xffffffff}, 540 {0x20, 0, 0, 0x10}, 541 {0x45, 0, 198, 0x80000000}, 542 {0x20, 0, 0, 0x10}, 543 {0x15, 203, 0, 0x53564d41}, 544 {0x20, 0, 0, 0x14}, 545 {0x15, 3, 0, 0x0}, 546 {0x15, 0, 193, 0xffffffff}, 547 {0x20, 0, 0, 0x10}, 548 {0x45, 0, 191, 0x80000000}, 549 {0x20, 0, 0, 0x10}, 550 {0x15, 196, 0, 0x59616d61}, 551 {0x20, 0, 0, 0x14}, 552 {0x15, 3, 0, 0x0}, 553 {0x15, 0, 186, 0xffffffff}, 554 {0x20, 0, 0, 0x10}, 555 {0x45, 0, 184, 0x80000000}, 556 {0x20, 0, 0, 0x10}, 557 {0x15, 189, 0, 0x29}, 558 {0x20, 0, 0, 0x14}, 559 {0x15, 3, 0, 0x0}, 560 {0x15, 0, 179, 0xffffffff}, 561 {0x20, 0, 0, 0x10}, 562 {0x45, 0, 177, 0x80000000}, 563 {0x20, 0, 0, 0x10}, 564 {0x15, 182, 0, 0x2b}, 565 {0x20, 0, 0, 0x14}, 566 {0x15, 3, 0, 0x0}, 567 {0x15, 0, 172, 0xffffffff}, 568 {0x20, 0, 0, 0x10}, 569 {0x45, 0, 170, 0x80000000}, 570 {0x20, 0, 0, 0x10}, 571 {0x15, 175, 0, 0x7f}, 572 {0x6, 0, 0, 0x30005}, 573 {0x20, 0, 0, 0x14}, 574 {0x15, 3, 0, 0x0}, 575 {0x15, 0, 164, 0xffffffff}, 576 {0x20, 0, 0, 0x10}, 577 {0x45, 0, 162, 0x80000000}, 578 {0x20, 0, 0, 0x10}, 579 {0x15, 167, 0, 0x111a}, 580 {0x6, 0, 0, 0x30004}, 581 {0x20, 0, 0, 0x14}, 582 {0x15, 3, 0, 0x0}, 583 {0x15, 0, 156, 0xffffffff}, 584 {0x20, 0, 0, 0x10}, 585 {0x45, 0, 154, 0x80000000}, 586 {0x20, 0, 0, 0x10}, 587 {0x15, 159, 0, 0x1}, 588 {0x20, 0, 0, 0x14}, 589 {0x15, 3, 0, 0x0}, 590 {0x15, 0, 149, 0xffffffff}, 591 {0x20, 0, 0, 0x10}, 592 {0x45, 0, 147, 0x80000000}, 593 {0x20, 0, 0, 0x10}, 594 {0x15, 152, 0, 0x6}, 595 {0x20, 0, 0, 0x14}, 596 {0x15, 3, 0, 0x0}, 597 {0x15, 0, 142, 0xffffffff}, 598 {0x20, 0, 0, 0x10}, 599 {0x45, 0, 140, 0x80000000}, 600 {0x20, 0, 0, 0x10}, 601 {0x15, 145, 0, 0x2}, 602 {0x20, 0, 0, 0x14}, 603 {0x15, 3, 0, 0x0}, 604 {0x15, 0, 135, 0xffffffff}, 605 {0x20, 0, 0, 0x10}, 606 {0x45, 0, 133, 0x80000000}, 607 {0x20, 0, 0, 0x10}, 608 {0x15, 138, 0, 0x0}, 609 {0x20, 0, 0, 0x14}, 610 {0x15, 3, 0, 0x0}, 611 {0x15, 0, 128, 0xffffffff}, 612 {0x20, 0, 0, 0x10}, 613 {0x45, 0, 126, 0x80000000}, 614 {0x20, 0, 0, 0x10}, 615 {0x15, 131, 0, 0x5}, 616 {0x20, 0, 0, 0x14}, 617 {0x15, 3, 0, 0x0}, 618 {0x15, 0, 121, 0xffffffff}, 619 {0x20, 0, 0, 0x10}, 620 {0x45, 0, 119, 0x80000000}, 621 {0x20, 0, 0, 0x10}, 622 {0x15, 124, 126, 0x3}, 623 {0x20, 0, 0, 0x1c}, 624 {0x15, 3, 0, 0x0}, 625 {0x15, 0, 114, 0xffffffff}, 626 {0x20, 0, 0, 0x18}, 627 {0x45, 0, 112, 0x80000000}, 628 {0x20, 0, 0, 0x18}, 629 {0x45, 0, 117, 0xfffffe7f}, 630 {0x20, 0, 0, 0x1c}, 631 {0x15, 3, 0, 0x0}, 632 {0x15, 0, 107, 0xffffffff}, 633 {0x20, 0, 0, 0x18}, 634 {0x45, 0, 105, 0x80000000}, 635 {0x20, 0, 0, 0x18}, 636 {0x54, 0, 0, 0xfffffe7f}, 637 {0x15, 109, 0, 0x1}, 638 {0x20, 0, 0, 0x1c}, 639 {0x15, 3, 0, 0x0}, 640 {0x15, 0, 99, 0xffffffff}, 641 {0x20, 0, 0, 0x18}, 642 {0x45, 0, 97, 0x80000000}, 643 {0x20, 0, 0, 0x18}, 644 {0x54, 0, 0, 0xfffffe7f}, 645 {0x15, 101, 0, 0x3}, 646 {0x20, 0, 0, 0x1c}, 647 {0x15, 3, 0, 0x0}, 648 {0x15, 0, 91, 0xffffffff}, 649 {0x20, 0, 0, 0x18}, 650 {0x45, 0, 89, 0x80000000}, 651 {0x20, 0, 0, 0x18}, 652 {0x54, 0, 0, 0xfffffe7f}, 653 {0x15, 93, 0, 0x4}, 654 {0x20, 0, 0, 0x1c}, 655 {0x15, 3, 0, 0x0}, 656 {0x15, 0, 83, 0xffffffff}, 657 {0x20, 0, 0, 0x18}, 658 {0x45, 0, 81, 0x80000000}, 659 {0x20, 0, 0, 0x18}, 660 {0x54, 0, 0, 0xfffffe7f}, 661 {0x15, 85, 0, 0x5}, 662 {0x20, 0, 0, 0x1c}, 663 {0x15, 3, 0, 0x0}, 664 {0x15, 0, 75, 0xffffffff}, 665 {0x20, 0, 0, 0x18}, 666 {0x45, 0, 73, 0x80000000}, 667 {0x20, 0, 0, 0x18}, 668 {0x54, 0, 0, 0xfffffe7f}, 669 {0x15, 77, 0, 0x9}, 670 {0x20, 0, 0, 0x1c}, 671 {0x15, 3, 0, 0x0}, 672 {0x15, 0, 67, 0xffffffff}, 673 {0x20, 0, 0, 0x18}, 674 {0x45, 0, 65, 0x80000000}, 675 {0x20, 0, 0, 0x18}, 676 {0x54, 0, 0, 0xfffffe7f}, 677 {0x15, 69, 0, 0xa}, 678 {0x6, 0, 0, 0x30003}, 679 {0x20, 0, 0, 0x1c}, 680 {0x15, 3, 0, 0x0}, 681 {0x15, 0, 58, 0xffffffff}, 682 {0x20, 0, 0, 0x18}, 683 {0x45, 0, 56, 0x80000000}, 684 {0x20, 0, 0, 0x18}, 685 {0x15, 61, 0, 0x3}, 686 {0x20, 0, 0, 0x1c}, 687 {0x15, 3, 0, 0x0}, 688 {0x15, 0, 51, 0xffffffff}, 689 {0x20, 0, 0, 0x18}, 690 {0x45, 0, 49, 0x80000000}, 691 {0x20, 0, 0, 0x18}, 692 {0x15, 54, 0, 0x1}, 693 {0x20, 0, 0, 0x1c}, 694 {0x15, 3, 0, 0x0}, 695 {0x15, 0, 44, 0xffffffff}, 696 {0x20, 0, 0, 0x18}, 697 {0x45, 0, 42, 0x80000000}, 698 {0x20, 0, 0, 0x18}, 699 {0x15, 47, 0, 0x2}, 700 {0x20, 0, 0, 0x1c}, 701 {0x15, 3, 0, 0x0}, 702 {0x15, 0, 37, 0xffffffff}, 703 {0x20, 0, 0, 0x18}, 704 {0x45, 0, 35, 0x80000000}, 705 {0x20, 0, 0, 0x18}, 706 {0x15, 40, 0, 0x6}, 707 {0x20, 0, 0, 0x1c}, 708 {0x15, 3, 0, 0x0}, 709 {0x15, 0, 30, 0xffffffff}, 710 {0x20, 0, 0, 0x18}, 711 {0x45, 0, 28, 0x80000000}, 712 {0x20, 0, 0, 0x18}, 713 {0x15, 33, 0, 0x7}, 714 {0x20, 0, 0, 0x1c}, 715 {0x15, 3, 0, 0x0}, 716 {0x15, 0, 23, 0xffffffff}, 717 {0x20, 0, 0, 0x18}, 718 {0x45, 0, 21, 0x80000000}, 719 {0x20, 0, 0, 0x18}, 720 {0x15, 26, 0, 0x5}, 721 {0x20, 0, 0, 0x1c}, 722 {0x15, 3, 0, 0x0}, 723 {0x15, 0, 16, 0xffffffff}, 724 {0x20, 0, 0, 0x18}, 725 {0x45, 0, 14, 0x80000000}, 726 {0x20, 0, 0, 0x18}, 727 {0x15, 19, 0, 0x0}, 728 {0x20, 0, 0, 0x1c}, 729 {0x15, 3, 0, 0x0}, 730 {0x15, 0, 9, 0xffffffff}, 731 {0x20, 0, 0, 0x18}, 732 {0x45, 0, 7, 0x80000000}, 733 {0x20, 0, 0, 0x18}, 734 {0x15, 12, 0, 0x406}, 735 {0x20, 0, 0, 0x1c}, 736 {0x15, 4, 0, 0x0}, 737 {0x15, 0, 2, 0xffffffff}, 738 {0x20, 0, 0, 0x18}, 739 {0x45, 1, 0, 0x80000000}, 740 {0x6, 0, 0, 0x30002}, 741 {0x20, 0, 0, 0x18}, 742 {0x15, 0, 6, 0x4}, 743 {0x20, 0, 0, 0x24}, 744 {0x15, 0, 4, 0x0}, 745 {0x20, 0, 0, 0x20}, 746 {0x45, 2, 0, 0xffe1e3fc}, 747 {0x6, 0, 0, 0x7fff0000}, 748 {0x6, 0, 0, 0x50001}, 749 {0x6, 0, 0, 0x30001}, 750 }; 751 #elif defined(__i386__) 752 struct sock_filter kTestSeccompFilter[] = { 753 {0x20, 0, 0, 0x4}, 754 {0x15, 1, 0, 0x40000003}, 755 {0x6, 0, 0, 0x30007}, 756 {0x20, 0, 0, 0x0}, 757 {0x45, 0, 1, 0x40000000}, 758 {0x6, 0, 0, 0x30006}, 759 {0x35, 0, 85, 0x94}, 760 {0x35, 0, 44, 0xdd}, 761 {0x35, 0, 20, 0x11c}, 762 {0x35, 0, 10, 0x13f}, 763 {0x35, 0, 5, 0x149}, 764 {0x35, 0, 2, 0x163}, 765 {0x35, 0, 92, 0x164}, 766 {0x35, 91, 90, 0x165}, 767 {0x35, 0, 92, 0x14c}, 768 {0x35, 88, 89, 0x161}, 769 {0x35, 0, 2, 0x141}, 770 {0x35, 0, 87, 0x144}, 771 {0x35, 86, 85, 0x145}, 772 {0x35, 84, 87, 0x140}, 773 {0x35, 0, 4, 0x12d}, 774 {0x35, 0, 2, 0x136}, 775 {0x35, 0, 82, 0x137}, 776 {0x35, 81, 80, 0x138}, 777 {0x35, 82, 79, 0x134}, 778 {0x35, 0, 2, 0x127}, 779 {0x35, 0, 80, 0x128}, 780 {0x35, 79, 76, 0x12c}, 781 {0x35, 76, 78, 0x11d}, 782 {0x35, 0, 11, 0xfe}, 783 {0x35, 0, 6, 0x10a}, 784 {0x35, 0, 3, 0x10e}, 785 {0x35, 1, 0, 0x10f}, 786 {0x5, 0, 0, 0x142}, 787 {0x35, 70, 69, 0x110}, 788 {0x35, 0, 69, 0x10c}, 789 {0x35, 68, 67, 0x10d}, 790 {0x35, 0, 2, 0x102}, 791 {0x35, 0, 68, 0x103}, 792 {0x35, 136, 65, 0x109}, 793 {0x35, 64, 66, 0x101}, 794 {0x35, 0, 4, 0xef}, 795 {0x35, 0, 2, 0xf1}, 796 {0x35, 0, 61, 0xfc}, 797 {0x35, 59, 62, 0xfd}, 798 {0x35, 154, 59, 0xf0}, 799 {0x35, 0, 3, 0xe0}, 800 {0x35, 0, 59, 0xe1}, 801 {0x35, 0, 56, 0xee}, 802 {0x5, 0, 0, 0x137}, 803 {0x35, 54, 0, 0xde}, 804 {0x5, 0, 0, 0x108}, 805 {0x35, 0, 20, 0xb6}, 806 {0x35, 0, 10, 0xc7}, 807 {0x35, 0, 5, 0xd2}, 808 {0x35, 0, 2, 0xd9}, 809 {0x35, 0, 48, 0xdb}, 810 {0x35, 46, 177, 0xdc}, 811 {0x35, 0, 45, 0xd3}, 812 {0x35, 44, 47, 0xd4}, 813 {0x35, 0, 2, 0xcd}, 814 {0x35, 0, 45, 0xce}, 815 {0x35, 44, 41, 0xd1}, 816 {0x35, 40, 43, 0xcb}, 817 {0x35, 0, 4, 0xbf}, 818 {0x35, 0, 2, 0xc1}, 819 {0x35, 0, 37, 0xc5}, 820 {0x35, 36, 39, 0xc6}, 821 {0x35, 243, 38, 0xc0}, 822 {0x35, 0, 2, 0xb9}, 823 {0x35, 0, 33, 0xba}, 824 {0x35, 33, 35, 0xbb}, 825 {0x35, 34, 31, 0xb8}, 826 {0x35, 0, 9, 0xa9}, 827 {0x35, 0, 4, 0xb0}, 828 {0x35, 0, 2, 0xb2}, 829 {0x35, 0, 28, 0xb4}, 830 {0x35, 27, 29, 0xb5}, 831 {0x35, 28, 26, 0xb1}, 832 {0x35, 0, 2, 0xab}, 833 {0x35, 0, 26, 0xac}, 834 {0x35, 25, 157, 0xad}, 835 {0x35, 21, 22, 0xaa}, 836 {0x35, 0, 4, 0xa2}, 837 {0x35, 0, 2, 0xa5}, 838 {0x35, 0, 21, 0xa6}, 839 {0x35, 20, 18, 0xa8}, 840 {0x35, 16, 19, 0xa4}, 841 {0x35, 0, 2, 0x98}, 842 {0x35, 0, 15, 0x9e}, 843 {0x35, 14, 16, 0x9f}, 844 {0x35, 15, 13, 0x96}, 845 {0x35, 0, 43, 0x4f}, 846 {0x35, 0, 23, 0x6e}, 847 {0x35, 0, 13, 0x7d}, 848 {0x35, 0, 5, 0x8a}, 849 {0x35, 0, 2, 0x8e}, 850 {0x35, 0, 9, 0x90}, 851 {0x35, 8, 6, 0x91}, 852 {0x35, 0, 4, 0x8c}, 853 {0x35, 3, 6, 0x8d}, 854 {0x35, 0, 4, 0x7f}, 855 {0x35, 0, 2, 0x85}, 856 {0x35, 1, 0, 0x86}, 857 {0x5, 0, 0, 0x101}, 858 {0x5, 0, 0, 0x102}, 859 {0x35, 0, 169, 0x7e}, 860 {0x5, 0, 0, 0xff}, 861 {0x35, 0, 4, 0x76}, 862 {0x35, 0, 2, 0x79}, 863 {0x35, 0, 253, 0x7a}, 864 {0x35, 252, 251, 0x7c}, 865 {0x35, 250, 251, 0x77}, 866 {0x35, 0, 2, 0x72}, 867 {0x35, 0, 248, 0x73}, 868 {0x35, 246, 248, 0x75}, 869 {0x35, 247, 245, 0x6f}, 870 {0x35, 0, 9, 0x60}, 871 {0x35, 0, 4, 0x66}, 872 {0x35, 0, 2, 0x6a}, 873 {0x35, 0, 241, 0x6c}, 874 {0x35, 242, 241, 0x6d}, 875 {0x35, 241, 157, 0x67}, 876 {0x35, 0, 2, 0x63}, 877 {0x35, 0, 237, 0x64}, 878 {0x35, 236, 238, 0x65}, 879 {0x35, 237, 236, 0x62}, 880 {0x35, 0, 4, 0x57}, 881 {0x35, 0, 2, 0x5a}, 882 {0x35, 0, 182, 0x5b}, 883 {0x35, 231, 232, 0x5c}, 884 {0x35, 230, 232, 0x59}, 885 {0x35, 0, 2, 0x51}, 886 {0x35, 0, 228, 0x52}, 887 {0x35, 227, 228, 0x53}, 888 {0x35, 227, 228, 0x50}, 889 {0x35, 0, 20, 0x29}, 890 {0x35, 0, 10, 0x38}, 891 {0x35, 0, 5, 0x41}, 892 {0x35, 0, 2, 0x46}, 893 {0x35, 0, 221, 0x48}, 894 {0x35, 221, 222, 0x4e}, 895 {0x35, 0, 221, 0x43}, 896 {0x35, 220, 219, 0x44}, 897 {0x35, 0, 2, 0x3d}, 898 {0x35, 0, 218, 0x3e}, 899 {0x35, 216, 215, 0x3f}, 900 {0x35, 214, 216, 0x3c}, 901 {0x35, 0, 4, 0x30}, 902 {0x35, 0, 2, 0x33}, 903 {0x35, 0, 213, 0x36}, 904 {0x35, 164, 211, 0x37}, 905 {0x35, 210, 211, 0x31}, 906 {0x35, 0, 2, 0x2d}, 907 {0x35, 0, 208, 0x2e}, 908 {0x35, 207, 206, 0x2f}, 909 {0x35, 207, 206, 0x2b}, 910 {0x35, 0, 9, 0x17}, 911 {0x35, 0, 4, 0x1f}, 912 {0x35, 0, 2, 0x22}, 913 {0x35, 0, 203, 0x25}, 914 {0x35, 200, 194, 0x26}, 915 {0x35, 199, 201, 0x21}, 916 {0x35, 0, 2, 0x19}, 917 {0x35, 0, 199, 0x1d}, 918 {0x35, 196, 197, 0x1e}, 919 {0x35, 196, 195, 0x18}, 920 {0x35, 0, 4, 0xe}, 921 {0x35, 0, 2, 0x12}, 922 {0x35, 0, 192, 0x13}, 923 {0x35, 193, 192, 0x15}, 924 {0x35, 192, 190, 0x11}, 925 {0x35, 0, 2, 0x3}, 926 {0x35, 0, 189, 0x8}, 927 {0x35, 188, 187, 0xd}, 928 {0x35, 186, 187, 0x2}, 929 {0x20, 0, 0, 0x14}, 930 {0x15, 0, 180, 0x0}, 931 {0x20, 0, 0, 0x10}, 932 {0x15, 183, 0, 0x1}, 933 {0x20, 0, 0, 0x14}, 934 {0x15, 0, 176, 0x0}, 935 {0x20, 0, 0, 0x10}, 936 {0x15, 179, 0, 0x6}, 937 {0x20, 0, 0, 0x14}, 938 {0x15, 0, 172, 0x0}, 939 {0x20, 0, 0, 0x10}, 940 {0x15, 175, 0, 0x2}, 941 {0x20, 0, 0, 0x14}, 942 {0x15, 0, 168, 0x0}, 943 {0x20, 0, 0, 0x10}, 944 {0x15, 171, 0, 0x0}, 945 {0x20, 0, 0, 0x14}, 946 {0x15, 0, 164, 0x0}, 947 {0x20, 0, 0, 0x10}, 948 {0x15, 167, 0, 0x5}, 949 {0x20, 0, 0, 0x14}, 950 {0x15, 0, 160, 0x0}, 951 {0x20, 0, 0, 0x10}, 952 {0x15, 163, 164, 0x3}, 953 {0x20, 0, 0, 0x1c}, 954 {0x15, 0, 156, 0x0}, 955 {0x20, 0, 0, 0x18}, 956 {0x45, 0, 159, 0xfffffe7f}, 957 {0x20, 0, 0, 0x1c}, 958 {0x15, 0, 152, 0x0}, 959 {0x20, 0, 0, 0x18}, 960 {0x54, 0, 0, 0xfffffe7f}, 961 {0x15, 154, 0, 0x1}, 962 {0x20, 0, 0, 0x1c}, 963 {0x15, 0, 147, 0x0}, 964 {0x20, 0, 0, 0x18}, 965 {0x54, 0, 0, 0xfffffe7f}, 966 {0x15, 149, 0, 0x3}, 967 {0x20, 0, 0, 0x1c}, 968 {0x15, 0, 142, 0x0}, 969 {0x20, 0, 0, 0x18}, 970 {0x54, 0, 0, 0xfffffe7f}, 971 {0x15, 144, 0, 0x4}, 972 {0x20, 0, 0, 0x1c}, 973 {0x15, 0, 137, 0x0}, 974 {0x20, 0, 0, 0x18}, 975 {0x54, 0, 0, 0xfffffe7f}, 976 {0x15, 139, 0, 0x5}, 977 {0x20, 0, 0, 0x1c}, 978 {0x15, 0, 132, 0x0}, 979 {0x20, 0, 0, 0x18}, 980 {0x54, 0, 0, 0xfffffe7f}, 981 {0x15, 134, 0, 0x9}, 982 {0x20, 0, 0, 0x1c}, 983 {0x15, 0, 127, 0x0}, 984 {0x20, 0, 0, 0x18}, 985 {0x54, 0, 0, 0xfffffe7f}, 986 {0x15, 129, 0, 0xa}, 987 {0x6, 0, 0, 0x30005}, 988 {0x20, 0, 0, 0x24}, 989 {0x15, 0, 121, 0x0}, 990 {0x20, 0, 0, 0x20}, 991 {0x15, 124, 123, 0x4}, 992 {0x20, 0, 0, 0x14}, 993 {0x15, 0, 117, 0x0}, 994 {0x20, 0, 0, 0x10}, 995 {0x15, 120, 0, 0x10}, 996 {0x20, 0, 0, 0x14}, 997 {0x15, 0, 113, 0x0}, 998 {0x20, 0, 0, 0x10}, 999 {0x15, 116, 0, 0xf}, 1000 {0x20, 0, 0, 0x14}, 1001 {0x15, 0, 109, 0x0}, 1002 {0x20, 0, 0, 0x10}, 1003 {0x15, 112, 0, 0x3}, 1004 {0x20, 0, 0, 0x14}, 1005 {0x15, 0, 105, 0x0}, 1006 {0x20, 0, 0, 0x10}, 1007 {0x15, 108, 0, 0x4}, 1008 {0x20, 0, 0, 0x14}, 1009 {0x15, 0, 101, 0x0}, 1010 {0x20, 0, 0, 0x10}, 1011 {0x15, 104, 0, 0x53564d41}, 1012 {0x20, 0, 0, 0x14}, 1013 {0x15, 0, 97, 0x0}, 1014 {0x20, 0, 0, 0x10}, 1015 {0x15, 100, 0, 0x59616d61}, 1016 {0x20, 0, 0, 0x14}, 1017 {0x15, 0, 93, 0x0}, 1018 {0x20, 0, 0, 0x10}, 1019 {0x15, 96, 0, 0x29}, 1020 {0x20, 0, 0, 0x14}, 1021 {0x15, 0, 89, 0x0}, 1022 {0x20, 0, 0, 0x10}, 1023 {0x15, 92, 0, 0x2b}, 1024 {0x20, 0, 0, 0x14}, 1025 {0x15, 0, 85, 0x0}, 1026 {0x20, 0, 0, 0x10}, 1027 {0x15, 88, 0, 0x7f}, 1028 {0x6, 0, 0, 0x30004}, 1029 {0x20, 0, 0, 0x24}, 1030 {0x15, 0, 80, 0x0}, 1031 {0x20, 0, 0, 0x20}, 1032 {0x45, 84, 83, 0xfffffff8}, 1033 {0x20, 0, 0, 0x14}, 1034 {0x15, 0, 76, 0x0}, 1035 {0x20, 0, 0, 0x10}, 1036 {0x15, 79, 0, 0x8}, 1037 {0x20, 0, 0, 0x14}, 1038 {0x15, 0, 72, 0x0}, 1039 {0x20, 0, 0, 0x10}, 1040 {0x15, 75, 0, 0xd}, 1041 {0x20, 0, 0, 0x14}, 1042 {0x15, 0, 68, 0x0}, 1043 {0x20, 0, 0, 0x10}, 1044 {0x15, 71, 0, 0xa}, 1045 {0x20, 0, 0, 0x14}, 1046 {0x15, 0, 64, 0x0}, 1047 {0x20, 0, 0, 0x10}, 1048 {0x15, 67, 0, 0x9}, 1049 {0x20, 0, 0, 0x14}, 1050 {0x15, 0, 60, 0x0}, 1051 {0x20, 0, 0, 0x10}, 1052 {0x15, 63, 0, 0xc}, 1053 {0x20, 0, 0, 0x14}, 1054 {0x15, 0, 56, 0x0}, 1055 {0x20, 0, 0, 0x10}, 1056 {0x15, 59, 0, 0xb}, 1057 {0x20, 0, 0, 0x14}, 1058 {0x15, 0, 52, 0x0}, 1059 {0x20, 0, 0, 0x10}, 1060 {0x15, 55, 0, 0x11}, 1061 {0x20, 0, 0, 0x14}, 1062 {0x15, 0, 48, 0x0}, 1063 {0x20, 0, 0, 0x10}, 1064 {0x15, 51, 50, 0x10}, 1065 {0x20, 0, 0, 0x2c}, 1066 {0x15, 0, 44, 0x0}, 1067 {0x20, 0, 0, 0x28}, 1068 {0x45, 48, 47, 0xfffdb7cc}, 1069 {0x20, 0, 0, 0x1c}, 1070 {0x15, 0, 40, 0x0}, 1071 {0x20, 0, 0, 0x18}, 1072 {0x15, 43, 0, 0x3}, 1073 {0x20, 0, 0, 0x1c}, 1074 {0x15, 0, 36, 0x0}, 1075 {0x20, 0, 0, 0x18}, 1076 {0x15, 39, 0, 0x1}, 1077 {0x20, 0, 0, 0x1c}, 1078 {0x15, 0, 32, 0x0}, 1079 {0x20, 0, 0, 0x18}, 1080 {0x15, 35, 0, 0x2}, 1081 {0x20, 0, 0, 0x1c}, 1082 {0x15, 0, 28, 0x0}, 1083 {0x20, 0, 0, 0x18}, 1084 {0x15, 31, 0, 0x6}, 1085 {0x20, 0, 0, 0x1c}, 1086 {0x15, 0, 24, 0x0}, 1087 {0x20, 0, 0, 0x18}, 1088 {0x15, 27, 0, 0x7}, 1089 {0x20, 0, 0, 0x1c}, 1090 {0x15, 0, 20, 0x0}, 1091 {0x20, 0, 0, 0x18}, 1092 {0x15, 23, 0, 0x5}, 1093 {0x20, 0, 0, 0x1c}, 1094 {0x15, 0, 16, 0x0}, 1095 {0x20, 0, 0, 0x18}, 1096 {0x15, 19, 0, 0x0}, 1097 {0x20, 0, 0, 0x1c}, 1098 {0x15, 0, 12, 0x0}, 1099 {0x20, 0, 0, 0x18}, 1100 {0x15, 15, 0, 0x406}, 1101 {0x20, 0, 0, 0x1c}, 1102 {0x15, 0, 8, 0x0}, 1103 {0x20, 0, 0, 0x18}, 1104 {0x15, 0, 12, 0x4}, 1105 {0x20, 0, 0, 0x24}, 1106 {0x15, 0, 4, 0x0}, 1107 {0x20, 0, 0, 0x20}, 1108 {0x45, 8, 7, 0xfff363fc}, 1109 {0x20, 0, 0, 0x14}, 1110 {0x15, 1, 0, 0x0}, 1111 {0x6, 0, 0, 0x30003}, 1112 {0x20, 0, 0, 0x10}, 1113 {0x15, 2, 0, 0x78a0}, 1114 {0x6, 0, 0, 0x30002}, 1115 {0x6, 0, 0, 0x50001}, 1116 {0x6, 0, 0, 0x7fff0000}, 1117 {0x6, 0, 0, 0x30001}, 1118 }; 1119 #elif defined(__x86_64__) 1120 struct sock_filter kTestSeccompFilter[] = { 1121 {0x20, 0, 0, 0x4}, 1122 {0x15, 1, 0, 0xc000003e}, 1123 {0x6, 0, 0, 0x30007}, 1124 {0x20, 0, 0, 0x0}, 1125 {0x45, 0, 1, 0x40000000}, 1126 {0x6, 0, 0, 0x30006}, 1127 {0x35, 0, 58, 0x7f}, 1128 {0x35, 0, 28, 0xe4}, 1129 {0x35, 0, 14, 0x111}, 1130 {0x35, 0, 7, 0x120}, 1131 {0x35, 0, 3, 0x13c}, 1132 {0x35, 0, 1, 0x13f}, 1133 {0x35, 105, 114, 0x140}, 1134 {0x35, 104, 113, 0x13e}, 1135 {0x35, 0, 1, 0x123}, 1136 {0x35, 102, 120, 0x126}, 1137 {0x35, 101, 110, 0x121}, 1138 {0x35, 0, 3, 0x119}, 1139 {0x35, 0, 1, 0x11d}, 1140 {0x35, 98, 107, 0x11e}, 1141 {0x35, 97, 115, 0x11a}, 1142 {0x35, 0, 105, 0x112}, 1143 {0x35, 104, 95, 0x118}, 1144 {0x35, 0, 6, 0xf8}, 1145 {0x35, 0, 3, 0x106}, 1146 {0x35, 0, 1, 0x10e}, 1147 {0x35, 91, 109, 0x110}, 1148 {0x35, 99, 108, 0x107}, 1149 {0x35, 0, 89, 0x101}, 1150 {0x35, 97, 106, 0x102}, 1151 {0x35, 0, 3, 0xea}, 1152 {0x35, 0, 1, 0xec}, 1153 {0x35, 103, 85, 0xf7}, 1154 {0x35, 93, 60, 0xeb}, 1155 {0x35, 0, 93, 0xe5}, 1156 {0x35, 100, 82, 0xe7}, 1157 {0x35, 0, 15, 0xac}, 1158 {0x35, 0, 7, 0xcb}, 1159 {0x35, 0, 3, 0xd9}, 1160 {0x35, 0, 1, 0xdc}, 1161 {0x35, 77, 86, 0xdd}, 1162 {0x35, 94, 85, 0xda}, 1163 {0x35, 0, 1, 0xd5}, 1164 {0x35, 74, 92, 0xd6}, 1165 {0x35, 82, 73, 0xd4}, 1166 {0x35, 0, 4, 0xbb}, 1167 {0x35, 0, 1, 0xc9}, 1168 {0x35, 124, 88, 0xca}, 1169 {0x35, 0, 69, 0xc8}, 1170 {0x5, 0, 0, 0x13c}, 1171 {0x35, 0, 76, 0xae}, 1172 {0x35, 84, 66, 0xba}, 1173 {0x35, 0, 6, 0x8a}, 1174 {0x35, 0, 3, 0x95}, 1175 {0x35, 0, 1, 0x9d}, 1176 {0x35, 62, 172, 0x9e}, 1177 {0x35, 61, 79, 0x97}, 1178 {0x35, 0, 60, 0x8c}, 1179 {0x35, 59, 77, 0x8e}, 1180 {0x35, 0, 3, 0x83}, 1181 {0x35, 0, 1, 0x87}, 1182 {0x35, 65, 56, 0x88}, 1183 {0x35, 64, 73, 0x84}, 1184 {0x35, 0, 54, 0x80}, 1185 {0x35, 53, 71, 0x81}, 1186 {0x35, 0, 29, 0x3b}, 1187 {0x35, 0, 14, 0x69}, 1188 {0x35, 0, 7, 0x74}, 1189 {0x35, 0, 3, 0x79}, 1190 {0x35, 0, 1, 0x7c}, 1191 {0x35, 56, 65, 0x7e}, 1192 {0x35, 55, 46, 0x7a}, 1193 {0x35, 0, 1, 0x77}, 1194 {0x35, 62, 53, 0x78}, 1195 {0x35, 61, 52, 0x76}, 1196 {0x35, 0, 3, 0x6e}, 1197 {0x35, 0, 1, 0x71}, 1198 {0x35, 58, 49, 0x73}, 1199 {0x35, 39, 57, 0x6f}, 1200 {0x35, 0, 47, 0x6b}, 1201 {0x35, 37, 55, 0x6d}, 1202 {0x35, 0, 6, 0x4a}, 1203 {0x35, 0, 3, 0x62}, 1204 {0x35, 0, 1, 0x67}, 1205 {0x35, 51, 33, 0x68}, 1206 {0x35, 50, 32, 0x66}, 1207 {0x35, 0, 31, 0x4c}, 1208 {0x35, 48, 39, 0x60}, 1209 {0x35, 0, 3, 0x3f}, 1210 {0x35, 0, 1, 0x48}, 1211 {0x35, 45, 201, 0x49}, 1212 {0x35, 35, 44, 0x40}, 1213 {0x35, 0, 34, 0x3c}, 1214 {0x35, 0, 42, 0x3e}, 1215 {0x5, 0, 0, 0x108}, 1216 {0x35, 0, 14, 0x1d}, 1217 {0x35, 0, 7, 0x31}, 1218 {0x35, 0, 3, 0x36}, 1219 {0x35, 0, 1, 0x39}, 1220 {0x35, 18, 27, 0x3a}, 1221 {0x35, 35, 17, 0x37}, 1222 {0x35, 0, 25, 0x33}, 1223 {0x35, 0, 15, 0x35}, 1224 {0x5, 0, 0, 0x107}, 1225 {0x35, 0, 3, 0x27}, 1226 {0x35, 0, 1, 0x29}, 1227 {0x35, 29, 20, 0x2c}, 1228 {0x35, 10, 28, 0x28}, 1229 {0x35, 0, 18, 0x20}, 1230 {0x35, 8, 26, 0x24}, 1231 {0x35, 0, 8, 0xb}, 1232 {0x35, 0, 4, 0x15}, 1233 {0x35, 0, 2, 0x1a}, 1234 {0x35, 0, 4, 0x1c}, 1235 {0x5, 0, 0, 0x103}, 1236 {0x35, 20, 11, 0x16}, 1237 {0x35, 0, 19, 0x12}, 1238 {0x35, 18, 0, 0x13}, 1239 {0x5, 0, 0, 0x117}, 1240 {0x35, 0, 5, 0x6}, 1241 {0x35, 0, 3, 0x9}, 1242 {0x35, 1, 0, 0xa}, 1243 {0x5, 0, 0, 0x109}, 1244 {0x5, 0, 0, 0x101}, 1245 {0x35, 11, 2, 0x7}, 1246 {0x35, 0, 10, 0x4}, 1247 {0x35, 9, 0, 0x5}, 1248 {0x5, 0, 0, 0x10c}, 1249 {0x20, 0, 0, 0x14}, 1250 {0x15, 4, 0, 0x0}, 1251 {0x15, 0, 2, 0xffffffff}, 1252 {0x20, 0, 0, 0x10}, 1253 {0x45, 1, 0, 0x80000000}, 1254 {0x5, 0, 0, 0x103}, 1255 {0x20, 0, 0, 0x10}, 1256 {0x15, 0, 1, 0x1}, 1257 {0x5, 0, 0, 0x104}, 1258 {0x20, 0, 0, 0x14}, 1259 {0x15, 3, 0, 0x0}, 1260 {0x15, 0, 253, 0xffffffff}, 1261 {0x20, 0, 0, 0x10}, 1262 {0x45, 0, 251, 0x80000000}, 1263 {0x20, 0, 0, 0x10}, 1264 {0x15, 253, 0, 0x6}, 1265 {0x20, 0, 0, 0x14}, 1266 {0x15, 3, 0, 0x0}, 1267 {0x15, 0, 246, 0xffffffff}, 1268 {0x20, 0, 0, 0x10}, 1269 {0x45, 0, 244, 0x80000000}, 1270 {0x20, 0, 0, 0x10}, 1271 {0x15, 246, 0, 0x2}, 1272 {0x20, 0, 0, 0x14}, 1273 {0x15, 3, 0, 0x0}, 1274 {0x15, 0, 239, 0xffffffff}, 1275 {0x20, 0, 0, 0x10}, 1276 {0x45, 0, 237, 0x80000000}, 1277 {0x20, 0, 0, 0x10}, 1278 {0x15, 239, 0, 0x0}, 1279 {0x20, 0, 0, 0x14}, 1280 {0x15, 3, 0, 0x0}, 1281 {0x15, 0, 232, 0xffffffff}, 1282 {0x20, 0, 0, 0x10}, 1283 {0x45, 0, 230, 0x80000000}, 1284 {0x20, 0, 0, 0x10}, 1285 {0x15, 232, 0, 0x5}, 1286 {0x20, 0, 0, 0x14}, 1287 {0x15, 3, 0, 0x0}, 1288 {0x15, 0, 225, 0xffffffff}, 1289 {0x20, 0, 0, 0x10}, 1290 {0x45, 0, 223, 0x80000000}, 1291 {0x20, 0, 0, 0x10}, 1292 {0x15, 225, 226, 0x3}, 1293 {0x20, 0, 0, 0x1c}, 1294 {0x15, 3, 0, 0x0}, 1295 {0x15, 0, 218, 0xffffffff}, 1296 {0x20, 0, 0, 0x18}, 1297 {0x45, 0, 216, 0x80000000}, 1298 {0x20, 0, 0, 0x18}, 1299 {0x45, 0, 218, 0xfffffe7f}, 1300 {0x20, 0, 0, 0x1c}, 1301 {0x15, 3, 0, 0x0}, 1302 {0x15, 0, 211, 0xffffffff}, 1303 {0x20, 0, 0, 0x18}, 1304 {0x45, 0, 209, 0x80000000}, 1305 {0x20, 0, 0, 0x18}, 1306 {0x54, 0, 0, 0xfffffe7f}, 1307 {0x15, 210, 0, 0x1}, 1308 {0x20, 0, 0, 0x1c}, 1309 {0x15, 3, 0, 0x0}, 1310 {0x15, 0, 203, 0xffffffff}, 1311 {0x20, 0, 0, 0x18}, 1312 {0x45, 0, 201, 0x80000000}, 1313 {0x20, 0, 0, 0x18}, 1314 {0x54, 0, 0, 0xfffffe7f}, 1315 {0x15, 202, 0, 0x3}, 1316 {0x20, 0, 0, 0x1c}, 1317 {0x15, 3, 0, 0x0}, 1318 {0x15, 0, 195, 0xffffffff}, 1319 {0x20, 0, 0, 0x18}, 1320 {0x45, 0, 193, 0x80000000}, 1321 {0x20, 0, 0, 0x18}, 1322 {0x54, 0, 0, 0xfffffe7f}, 1323 {0x15, 194, 0, 0x4}, 1324 {0x20, 0, 0, 0x1c}, 1325 {0x15, 3, 0, 0x0}, 1326 {0x15, 0, 187, 0xffffffff}, 1327 {0x20, 0, 0, 0x18}, 1328 {0x45, 0, 185, 0x80000000}, 1329 {0x20, 0, 0, 0x18}, 1330 {0x54, 0, 0, 0xfffffe7f}, 1331 {0x15, 186, 0, 0x5}, 1332 {0x20, 0, 0, 0x1c}, 1333 {0x15, 3, 0, 0x0}, 1334 {0x15, 0, 179, 0xffffffff}, 1335 {0x20, 0, 0, 0x18}, 1336 {0x45, 0, 177, 0x80000000}, 1337 {0x20, 0, 0, 0x18}, 1338 {0x54, 0, 0, 0xfffffe7f}, 1339 {0x15, 178, 0, 0x9}, 1340 {0x20, 0, 0, 0x1c}, 1341 {0x15, 3, 0, 0x0}, 1342 {0x15, 0, 171, 0xffffffff}, 1343 {0x20, 0, 0, 0x18}, 1344 {0x45, 0, 169, 0x80000000}, 1345 {0x20, 0, 0, 0x18}, 1346 {0x54, 0, 0, 0xfffffe7f}, 1347 {0x15, 170, 0, 0xa}, 1348 {0x6, 0, 0, 0x30005}, 1349 {0x20, 0, 0, 0x14}, 1350 {0x15, 3, 0, 0x0}, 1351 {0x15, 0, 162, 0xffffffff}, 1352 {0x20, 0, 0, 0x10}, 1353 {0x45, 0, 160, 0x80000000}, 1354 {0x20, 0, 0, 0x10}, 1355 {0x15, 162, 0, 0x10}, 1356 {0x20, 0, 0, 0x14}, 1357 {0x15, 3, 0, 0x0}, 1358 {0x15, 0, 155, 0xffffffff}, 1359 {0x20, 0, 0, 0x10}, 1360 {0x45, 0, 153, 0x80000000}, 1361 {0x20, 0, 0, 0x10}, 1362 {0x15, 155, 0, 0xf}, 1363 {0x20, 0, 0, 0x14}, 1364 {0x15, 3, 0, 0x0}, 1365 {0x15, 0, 148, 0xffffffff}, 1366 {0x20, 0, 0, 0x10}, 1367 {0x45, 0, 146, 0x80000000}, 1368 {0x20, 0, 0, 0x10}, 1369 {0x15, 148, 0, 0x3}, 1370 {0x20, 0, 0, 0x14}, 1371 {0x15, 3, 0, 0x0}, 1372 {0x15, 0, 141, 0xffffffff}, 1373 {0x20, 0, 0, 0x10}, 1374 {0x45, 0, 139, 0x80000000}, 1375 {0x20, 0, 0, 0x10}, 1376 {0x15, 141, 0, 0x4}, 1377 {0x20, 0, 0, 0x14}, 1378 {0x15, 3, 0, 0x0}, 1379 {0x15, 0, 134, 0xffffffff}, 1380 {0x20, 0, 0, 0x10}, 1381 {0x45, 0, 132, 0x80000000}, 1382 {0x20, 0, 0, 0x10}, 1383 {0x15, 134, 0, 0x53564d41}, 1384 {0x20, 0, 0, 0x14}, 1385 {0x15, 3, 0, 0x0}, 1386 {0x15, 0, 127, 0xffffffff}, 1387 {0x20, 0, 0, 0x10}, 1388 {0x45, 0, 125, 0x80000000}, 1389 {0x20, 0, 0, 0x10}, 1390 {0x15, 127, 0, 0x59616d61}, 1391 {0x20, 0, 0, 0x14}, 1392 {0x15, 3, 0, 0x0}, 1393 {0x15, 0, 120, 0xffffffff}, 1394 {0x20, 0, 0, 0x10}, 1395 {0x45, 0, 118, 0x80000000}, 1396 {0x20, 0, 0, 0x10}, 1397 {0x15, 120, 0, 0x29}, 1398 {0x20, 0, 0, 0x14}, 1399 {0x15, 3, 0, 0x0}, 1400 {0x15, 0, 113, 0xffffffff}, 1401 {0x20, 0, 0, 0x10}, 1402 {0x45, 0, 111, 0x80000000}, 1403 {0x20, 0, 0, 0x10}, 1404 {0x15, 113, 0, 0x2b}, 1405 {0x20, 0, 0, 0x14}, 1406 {0x15, 3, 0, 0x0}, 1407 {0x15, 0, 106, 0xffffffff}, 1408 {0x20, 0, 0, 0x10}, 1409 {0x45, 0, 104, 0x80000000}, 1410 {0x20, 0, 0, 0x10}, 1411 {0x15, 106, 0, 0x7f}, 1412 {0x6, 0, 0, 0x30004}, 1413 {0x20, 0, 0, 0x1c}, 1414 {0x15, 3, 0, 0x0}, 1415 {0x15, 0, 98, 0xffffffff}, 1416 {0x20, 0, 0, 0x18}, 1417 {0x45, 0, 96, 0x80000000}, 1418 {0x20, 0, 0, 0x18}, 1419 {0x15, 98, 0, 0x3}, 1420 {0x20, 0, 0, 0x1c}, 1421 {0x15, 3, 0, 0x0}, 1422 {0x15, 0, 91, 0xffffffff}, 1423 {0x20, 0, 0, 0x18}, 1424 {0x45, 0, 89, 0x80000000}, 1425 {0x20, 0, 0, 0x18}, 1426 {0x15, 91, 0, 0x1}, 1427 {0x20, 0, 0, 0x1c}, 1428 {0x15, 3, 0, 0x0}, 1429 {0x15, 0, 84, 0xffffffff}, 1430 {0x20, 0, 0, 0x18}, 1431 {0x45, 0, 82, 0x80000000}, 1432 {0x20, 0, 0, 0x18}, 1433 {0x15, 84, 0, 0x2}, 1434 {0x20, 0, 0, 0x1c}, 1435 {0x15, 3, 0, 0x0}, 1436 {0x15, 0, 77, 0xffffffff}, 1437 {0x20, 0, 0, 0x18}, 1438 {0x45, 0, 75, 0x80000000}, 1439 {0x20, 0, 0, 0x18}, 1440 {0x15, 77, 0, 0x6}, 1441 {0x20, 0, 0, 0x1c}, 1442 {0x15, 3, 0, 0x0}, 1443 {0x15, 0, 70, 0xffffffff}, 1444 {0x20, 0, 0, 0x18}, 1445 {0x45, 0, 68, 0x80000000}, 1446 {0x20, 0, 0, 0x18}, 1447 {0x15, 70, 0, 0x7}, 1448 {0x20, 0, 0, 0x1c}, 1449 {0x15, 3, 0, 0x0}, 1450 {0x15, 0, 63, 0xffffffff}, 1451 {0x20, 0, 0, 0x18}, 1452 {0x45, 0, 61, 0x80000000}, 1453 {0x20, 0, 0, 0x18}, 1454 {0x15, 63, 0, 0x5}, 1455 {0x20, 0, 0, 0x1c}, 1456 {0x15, 3, 0, 0x0}, 1457 {0x15, 0, 56, 0xffffffff}, 1458 {0x20, 0, 0, 0x18}, 1459 {0x45, 0, 54, 0x80000000}, 1460 {0x20, 0, 0, 0x18}, 1461 {0x15, 56, 0, 0x0}, 1462 {0x20, 0, 0, 0x1c}, 1463 {0x15, 3, 0, 0x0}, 1464 {0x15, 0, 49, 0xffffffff}, 1465 {0x20, 0, 0, 0x18}, 1466 {0x45, 0, 47, 0x80000000}, 1467 {0x20, 0, 0, 0x18}, 1468 {0x15, 49, 0, 0x406}, 1469 {0x20, 0, 0, 0x1c}, 1470 {0x15, 3, 0, 0x0}, 1471 {0x15, 0, 42, 0xffffffff}, 1472 {0x20, 0, 0, 0x18}, 1473 {0x45, 0, 40, 0x80000000}, 1474 {0x20, 0, 0, 0x18}, 1475 {0x15, 0, 43, 0x4}, 1476 {0x20, 0, 0, 0x24}, 1477 {0x15, 0, 41, 0x0}, 1478 {0x20, 0, 0, 0x20}, 1479 {0x45, 39, 38, 0xffe363fc}, 1480 {0x20, 0, 0, 0x14}, 1481 {0x15, 3, 0, 0x0}, 1482 {0x15, 0, 31, 0xffffffff}, 1483 {0x20, 0, 0, 0x10}, 1484 {0x45, 0, 29, 0x80000000}, 1485 {0x20, 0, 0, 0x10}, 1486 {0x15, 31, 0, 0x8da}, 1487 {0x6, 0, 0, 0x30003}, 1488 {0x20, 0, 0, 0x14}, 1489 {0x15, 3, 0, 0x0}, 1490 {0x15, 0, 23, 0xffffffff}, 1491 {0x20, 0, 0, 0x10}, 1492 {0x45, 0, 21, 0x80000000}, 1493 {0x20, 0, 0, 0x10}, 1494 {0x15, 23, 24, 0x1}, 1495 {0x20, 0, 0, 0x24}, 1496 {0x15, 3, 0, 0x0}, 1497 {0x15, 0, 16, 0xffffffff}, 1498 {0x20, 0, 0, 0x20}, 1499 {0x45, 0, 14, 0x80000000}, 1500 {0x20, 0, 0, 0x20}, 1501 {0x15, 16, 15, 0x4}, 1502 {0x20, 0, 0, 0x24}, 1503 {0x15, 3, 0, 0x0}, 1504 {0x15, 0, 9, 0xffffffff}, 1505 {0x20, 0, 0, 0x20}, 1506 {0x45, 0, 7, 0x80000000}, 1507 {0x20, 0, 0, 0x20}, 1508 {0x45, 10, 9, 0xfffffff8}, 1509 {0x20, 0, 0, 0x2c}, 1510 {0x15, 4, 0, 0x0}, 1511 {0x15, 0, 2, 0xffffffff}, 1512 {0x20, 0, 0, 0x28}, 1513 {0x45, 1, 0, 0x80000000}, 1514 {0x6, 0, 0, 0x30002}, 1515 {0x20, 0, 0, 0x28}, 1516 {0x45, 2, 1, 0xfffdb7cc}, 1517 {0x6, 0, 0, 0x50001}, 1518 {0x6, 0, 0, 0x7fff0000}, 1519 {0x6, 0, 0, 0x30001}, 1520 }; 1521 #endif 1522 1523 struct sock_fprog GetTestSeccompFilterProgram() { 1524 struct sock_fprog prog = { 1525 .len = sizeof(kTestSeccompFilter) / sizeof(struct sock_filter), 1526 .filter = kTestSeccompFilter 1527 }; 1528 return prog; 1529 } 1530