Browse code

generate seccomp profile convert type

Signed-off-by: Jessica Frazelle <acidburn@docker.com>

Jessica Frazelle authored on 2016/02/18 14:06:07
Showing 6 changed files
... ...
@@ -72,7 +72,10 @@ func (d *Driver) createContainer(c *execdriver.Command, hooks execdriver.Hooks)
72 72
 		}
73 73
 
74 74
 		if c.SeccompProfile == "" {
75
-			container.Seccomp = seccomp.GetDefaultProfile()
75
+			container.Seccomp, err = seccomp.GetDefaultProfile()
76
+			if err != nil {
77
+				return nil, err
78
+			}
76 79
 		}
77 80
 	}
78 81
 	// add CAP_ prefix to all caps for new libcontainer update to match
... ...
@@ -1,1566 +1,1566 @@
1 1
 {
2
-	"default_action": 2,
2
+	"defaultAction": "SCMP_ACT_ERRNO",
3 3
 	"architectures": [
4
-		"amd64",
5
-		"x86",
6
-		"x32"
4
+		"SCMP_ARCH_X86_64",
5
+		"SCMP_ARCH_X86",
6
+		"SCMP_ARCH_X32"
7 7
 	],
8 8
 	"syscalls": [
9 9
 		{
10 10
 			"name": "accept",
11
-			"action": 4,
11
+			"action": "SCMP_ACT_ALLOW",
12 12
 			"args": []
13 13
 		},
14 14
 		{
15 15
 			"name": "accept4",
16
-			"action": 4,
16
+			"action": "SCMP_ACT_ALLOW",
17 17
 			"args": []
18 18
 		},
19 19
 		{
20 20
 			"name": "access",
21
-			"action": 4,
21
+			"action": "SCMP_ACT_ALLOW",
22 22
 			"args": []
23 23
 		},
24 24
 		{
25 25
 			"name": "alarm",
26
-			"action": 4,
26
+			"action": "SCMP_ACT_ALLOW",
27 27
 			"args": []
28 28
 		},
29 29
 		{
30 30
 			"name": "arch_prctl",
31
-			"action": 4,
31
+			"action": "SCMP_ACT_ALLOW",
32 32
 			"args": []
33 33
 		},
34 34
 		{
35 35
 			"name": "bind",
36
-			"action": 4,
36
+			"action": "SCMP_ACT_ALLOW",
37 37
 			"args": []
38 38
 		},
39 39
 		{
40 40
 			"name": "brk",
41
-			"action": 4,
41
+			"action": "SCMP_ACT_ALLOW",
42 42
 			"args": []
43 43
 		},
44 44
 		{
45 45
 			"name": "capget",
46
-			"action": 4,
46
+			"action": "SCMP_ACT_ALLOW",
47 47
 			"args": []
48 48
 		},
49 49
 		{
50 50
 			"name": "capset",
51
-			"action": 4,
51
+			"action": "SCMP_ACT_ALLOW",
52 52
 			"args": []
53 53
 		},
54 54
 		{
55 55
 			"name": "chdir",
56
-			"action": 4,
56
+			"action": "SCMP_ACT_ALLOW",
57 57
 			"args": []
58 58
 		},
59 59
 		{
60 60
 			"name": "chmod",
61
-			"action": 4,
61
+			"action": "SCMP_ACT_ALLOW",
62 62
 			"args": []
63 63
 		},
64 64
 		{
65 65
 			"name": "chown",
66
-			"action": 4,
66
+			"action": "SCMP_ACT_ALLOW",
67 67
 			"args": []
68 68
 		},
69 69
 		{
70 70
 			"name": "chown32",
71
-			"action": 4,
71
+			"action": "SCMP_ACT_ALLOW",
72 72
 			"args": []
73 73
 		},
74 74
 		{
75 75
 			"name": "chroot",
76
-			"action": 4,
76
+			"action": "SCMP_ACT_ALLOW",
77 77
 			"args": []
78 78
 		},
79 79
 		{
80 80
 			"name": "clock_getres",
81
-			"action": 4,
81
+			"action": "SCMP_ACT_ALLOW",
82 82
 			"args": []
83 83
 		},
84 84
 		{
85 85
 			"name": "clock_gettime",
86
-			"action": 4,
86
+			"action": "SCMP_ACT_ALLOW",
87 87
 			"args": []
88 88
 		},
89 89
 		{
90 90
 			"name": "clock_nanosleep",
91
-			"action": 4,
91
+			"action": "SCMP_ACT_ALLOW",
92 92
 			"args": []
93 93
 		},
94 94
 		{
95 95
 			"name": "clone",
96
-			"action": 4,
96
+			"action": "SCMP_ACT_ALLOW",
97 97
 			"args": [
98 98
 				{
99 99
 					"index": 0,
100 100
 					"value": 2080505856,
101
-					"value_two": 0,
102
-					"op": 7
101
+					"valueTwo": 0,
102
+					"op": "SCMP_CMP_MASKED_EQ"
103 103
 				}
104 104
 			]
105 105
 		},
106 106
 		{
107 107
 			"name": "close",
108
-			"action": 4,
108
+			"action": "SCMP_ACT_ALLOW",
109 109
 			"args": []
110 110
 		},
111 111
 		{
112 112
 			"name": "connect",
113
-			"action": 4,
113
+			"action": "SCMP_ACT_ALLOW",
114 114
 			"args": []
115 115
 		},
116 116
 		{
117 117
 			"name": "creat",
118
-			"action": 4,
118
+			"action": "SCMP_ACT_ALLOW",
119 119
 			"args": []
120 120
 		},
121 121
 		{
122 122
 			"name": "dup",
123
-			"action": 4,
123
+			"action": "SCMP_ACT_ALLOW",
124 124
 			"args": []
125 125
 		},
126 126
 		{
127 127
 			"name": "dup2",
128
-			"action": 4,
128
+			"action": "SCMP_ACT_ALLOW",
129 129
 			"args": []
130 130
 		},
131 131
 		{
132 132
 			"name": "dup3",
133
-			"action": 4,
133
+			"action": "SCMP_ACT_ALLOW",
134 134
 			"args": []
135 135
 		},
136 136
 		{
137 137
 			"name": "epoll_create",
138
-			"action": 4,
138
+			"action": "SCMP_ACT_ALLOW",
139 139
 			"args": []
140 140
 		},
141 141
 		{
142 142
 			"name": "epoll_create1",
143
-			"action": 4,
143
+			"action": "SCMP_ACT_ALLOW",
144 144
 			"args": []
145 145
 		},
146 146
 		{
147 147
 			"name": "epoll_ctl",
148
-			"action": 4,
148
+			"action": "SCMP_ACT_ALLOW",
149 149
 			"args": []
150 150
 		},
151 151
 		{
152 152
 			"name": "epoll_ctl_old",
153
-			"action": 4,
153
+			"action": "SCMP_ACT_ALLOW",
154 154
 			"args": []
155 155
 		},
156 156
 		{
157 157
 			"name": "epoll_pwait",
158
-			"action": 4,
158
+			"action": "SCMP_ACT_ALLOW",
159 159
 			"args": []
160 160
 		},
161 161
 		{
162 162
 			"name": "epoll_wait",
163
-			"action": 4,
163
+			"action": "SCMP_ACT_ALLOW",
164 164
 			"args": []
165 165
 		},
166 166
 		{
167 167
 			"name": "epoll_wait_old",
168
-			"action": 4,
168
+			"action": "SCMP_ACT_ALLOW",
169 169
 			"args": []
170 170
 		},
171 171
 		{
172 172
 			"name": "eventfd",
173
-			"action": 4,
173
+			"action": "SCMP_ACT_ALLOW",
174 174
 			"args": []
175 175
 		},
176 176
 		{
177 177
 			"name": "eventfd2",
178
-			"action": 4,
178
+			"action": "SCMP_ACT_ALLOW",
179 179
 			"args": []
180 180
 		},
181 181
 		{
182 182
 			"name": "execve",
183
-			"action": 4,
183
+			"action": "SCMP_ACT_ALLOW",
184 184
 			"args": []
185 185
 		},
186 186
 		{
187 187
 			"name": "execveat",
188
-			"action": 4,
188
+			"action": "SCMP_ACT_ALLOW",
189 189
 			"args": []
190 190
 		},
191 191
 		{
192 192
 			"name": "exit",
193
-			"action": 4,
193
+			"action": "SCMP_ACT_ALLOW",
194 194
 			"args": []
195 195
 		},
196 196
 		{
197 197
 			"name": "exit_group",
198
-			"action": 4,
198
+			"action": "SCMP_ACT_ALLOW",
199 199
 			"args": []
200 200
 		},
201 201
 		{
202 202
 			"name": "faccessat",
203
-			"action": 4,
203
+			"action": "SCMP_ACT_ALLOW",
204 204
 			"args": []
205 205
 		},
206 206
 		{
207 207
 			"name": "fadvise64",
208
-			"action": 4,
208
+			"action": "SCMP_ACT_ALLOW",
209 209
 			"args": []
210 210
 		},
211 211
 		{
212 212
 			"name": "fadvise64_64",
213
-			"action": 4,
213
+			"action": "SCMP_ACT_ALLOW",
214 214
 			"args": []
215 215
 		},
216 216
 		{
217 217
 			"name": "fallocate",
218
-			"action": 4,
218
+			"action": "SCMP_ACT_ALLOW",
219 219
 			"args": []
220 220
 		},
221 221
 		{
222 222
 			"name": "fanotify_init",
223
-			"action": 4,
223
+			"action": "SCMP_ACT_ALLOW",
224 224
 			"args": []
225 225
 		},
226 226
 		{
227 227
 			"name": "fanotify_mark",
228
-			"action": 4,
228
+			"action": "SCMP_ACT_ALLOW",
229 229
 			"args": []
230 230
 		},
231 231
 		{
232 232
 			"name": "fchdir",
233
-			"action": 4,
233
+			"action": "SCMP_ACT_ALLOW",
234 234
 			"args": []
235 235
 		},
236 236
 		{
237 237
 			"name": "fchmod",
238
-			"action": 4,
238
+			"action": "SCMP_ACT_ALLOW",
239 239
 			"args": []
240 240
 		},
241 241
 		{
242 242
 			"name": "fchmodat",
243
-			"action": 4,
243
+			"action": "SCMP_ACT_ALLOW",
244 244
 			"args": []
245 245
 		},
246 246
 		{
247 247
 			"name": "fchown",
248
-			"action": 4,
248
+			"action": "SCMP_ACT_ALLOW",
249 249
 			"args": []
250 250
 		},
251 251
 		{
252 252
 			"name": "fchown32",
253
-			"action": 4,
253
+			"action": "SCMP_ACT_ALLOW",
254 254
 			"args": []
255 255
 		},
256 256
 		{
257 257
 			"name": "fchownat",
258
-			"action": 4,
258
+			"action": "SCMP_ACT_ALLOW",
259 259
 			"args": []
260 260
 		},
261 261
 		{
262 262
 			"name": "fcntl",
263
-			"action": 4,
263
+			"action": "SCMP_ACT_ALLOW",
264 264
 			"args": []
265 265
 		},
266 266
 		{
267 267
 			"name": "fcntl64",
268
-			"action": 4,
268
+			"action": "SCMP_ACT_ALLOW",
269 269
 			"args": []
270 270
 		},
271 271
 		{
272 272
 			"name": "fdatasync",
273
-			"action": 4,
273
+			"action": "SCMP_ACT_ALLOW",
274 274
 			"args": []
275 275
 		},
276 276
 		{
277 277
 			"name": "fgetxattr",
278
-			"action": 4,
278
+			"action": "SCMP_ACT_ALLOW",
279 279
 			"args": []
280 280
 		},
281 281
 		{
282 282
 			"name": "flistxattr",
283
-			"action": 4,
283
+			"action": "SCMP_ACT_ALLOW",
284 284
 			"args": []
285 285
 		},
286 286
 		{
287 287
 			"name": "flock",
288
-			"action": 4,
288
+			"action": "SCMP_ACT_ALLOW",
289 289
 			"args": []
290 290
 		},
291 291
 		{
292 292
 			"name": "fork",
293
-			"action": 4,
293
+			"action": "SCMP_ACT_ALLOW",
294 294
 			"args": []
295 295
 		},
296 296
 		{
297 297
 			"name": "fremovexattr",
298
-			"action": 4,
298
+			"action": "SCMP_ACT_ALLOW",
299 299
 			"args": []
300 300
 		},
301 301
 		{
302 302
 			"name": "fsetxattr",
303
-			"action": 4,
303
+			"action": "SCMP_ACT_ALLOW",
304 304
 			"args": []
305 305
 		},
306 306
 		{
307 307
 			"name": "fstat",
308
-			"action": 4,
308
+			"action": "SCMP_ACT_ALLOW",
309 309
 			"args": []
310 310
 		},
311 311
 		{
312 312
 			"name": "fstat64",
313
-			"action": 4,
313
+			"action": "SCMP_ACT_ALLOW",
314 314
 			"args": []
315 315
 		},
316 316
 		{
317 317
 			"name": "fstatat64",
318
-			"action": 4,
318
+			"action": "SCMP_ACT_ALLOW",
319 319
 			"args": []
320 320
 		},
321 321
 		{
322 322
 			"name": "fstatfs",
323
-			"action": 4,
323
+			"action": "SCMP_ACT_ALLOW",
324 324
 			"args": []
325 325
 		},
326 326
 		{
327 327
 			"name": "fstatfs64",
328
-			"action": 4,
328
+			"action": "SCMP_ACT_ALLOW",
329 329
 			"args": []
330 330
 		},
331 331
 		{
332 332
 			"name": "fsync",
333
-			"action": 4,
333
+			"action": "SCMP_ACT_ALLOW",
334 334
 			"args": []
335 335
 		},
336 336
 		{
337 337
 			"name": "ftruncate",
338
-			"action": 4,
338
+			"action": "SCMP_ACT_ALLOW",
339 339
 			"args": []
340 340
 		},
341 341
 		{
342 342
 			"name": "ftruncate64",
343
-			"action": 4,
343
+			"action": "SCMP_ACT_ALLOW",
344 344
 			"args": []
345 345
 		},
346 346
 		{
347 347
 			"name": "futex",
348
-			"action": 4,
348
+			"action": "SCMP_ACT_ALLOW",
349 349
 			"args": []
350 350
 		},
351 351
 		{
352 352
 			"name": "futimesat",
353
-			"action": 4,
353
+			"action": "SCMP_ACT_ALLOW",
354 354
 			"args": []
355 355
 		},
356 356
 		{
357 357
 			"name": "getcpu",
358
-			"action": 4,
358
+			"action": "SCMP_ACT_ALLOW",
359 359
 			"args": []
360 360
 		},
361 361
 		{
362 362
 			"name": "getcwd",
363
-			"action": 4,
363
+			"action": "SCMP_ACT_ALLOW",
364 364
 			"args": []
365 365
 		},
366 366
 		{
367 367
 			"name": "getdents",
368
-			"action": 4,
368
+			"action": "SCMP_ACT_ALLOW",
369 369
 			"args": []
370 370
 		},
371 371
 		{
372 372
 			"name": "getdents64",
373
-			"action": 4,
373
+			"action": "SCMP_ACT_ALLOW",
374 374
 			"args": []
375 375
 		},
376 376
 		{
377 377
 			"name": "getegid",
378
-			"action": 4,
378
+			"action": "SCMP_ACT_ALLOW",
379 379
 			"args": []
380 380
 		},
381 381
 		{
382 382
 			"name": "getegid32",
383
-			"action": 4,
383
+			"action": "SCMP_ACT_ALLOW",
384 384
 			"args": []
385 385
 		},
386 386
 		{
387 387
 			"name": "geteuid",
388
-			"action": 4,
388
+			"action": "SCMP_ACT_ALLOW",
389 389
 			"args": []
390 390
 		},
391 391
 		{
392 392
 			"name": "geteuid32",
393
-			"action": 4,
393
+			"action": "SCMP_ACT_ALLOW",
394 394
 			"args": []
395 395
 		},
396 396
 		{
397 397
 			"name": "getgid",
398
-			"action": 4,
398
+			"action": "SCMP_ACT_ALLOW",
399 399
 			"args": []
400 400
 		},
401 401
 		{
402 402
 			"name": "getgid32",
403
-			"action": 4,
403
+			"action": "SCMP_ACT_ALLOW",
404 404
 			"args": []
405 405
 		},
406 406
 		{
407 407
 			"name": "getgroups",
408
-			"action": 4,
408
+			"action": "SCMP_ACT_ALLOW",
409 409
 			"args": []
410 410
 		},
411 411
 		{
412 412
 			"name": "getgroups32",
413
-			"action": 4,
413
+			"action": "SCMP_ACT_ALLOW",
414 414
 			"args": []
415 415
 		},
416 416
 		{
417 417
 			"name": "getitimer",
418
-			"action": 4,
418
+			"action": "SCMP_ACT_ALLOW",
419 419
 			"args": []
420 420
 		},
421 421
 		{
422 422
 			"name": "getpeername",
423
-			"action": 4,
423
+			"action": "SCMP_ACT_ALLOW",
424 424
 			"args": []
425 425
 		},
426 426
 		{
427 427
 			"name": "getpgid",
428
-			"action": 4,
428
+			"action": "SCMP_ACT_ALLOW",
429 429
 			"args": []
430 430
 		},
431 431
 		{
432 432
 			"name": "getpgrp",
433
-			"action": 4,
433
+			"action": "SCMP_ACT_ALLOW",
434 434
 			"args": []
435 435
 		},
436 436
 		{
437 437
 			"name": "getpid",
438
-			"action": 4,
438
+			"action": "SCMP_ACT_ALLOW",
439 439
 			"args": []
440 440
 		},
441 441
 		{
442 442
 			"name": "getppid",
443
-			"action": 4,
443
+			"action": "SCMP_ACT_ALLOW",
444 444
 			"args": []
445 445
 		},
446 446
 		{
447 447
 			"name": "getpriority",
448
-			"action": 4,
448
+			"action": "SCMP_ACT_ALLOW",
449 449
 			"args": []
450 450
 		},
451 451
 		{
452 452
 			"name": "getrandom",
453
-			"action": 4,
453
+			"action": "SCMP_ACT_ALLOW",
454 454
 			"args": []
455 455
 		},
456 456
 		{
457 457
 			"name": "getresgid",
458
-			"action": 4,
458
+			"action": "SCMP_ACT_ALLOW",
459 459
 			"args": []
460 460
 		},
461 461
 		{
462 462
 			"name": "getresgid32",
463
-			"action": 4,
463
+			"action": "SCMP_ACT_ALLOW",
464 464
 			"args": []
465 465
 		},
466 466
 		{
467 467
 			"name": "getresuid",
468
-			"action": 4,
468
+			"action": "SCMP_ACT_ALLOW",
469 469
 			"args": []
470 470
 		},
471 471
 		{
472 472
 			"name": "getresuid32",
473
-			"action": 4,
473
+			"action": "SCMP_ACT_ALLOW",
474 474
 			"args": []
475 475
 		},
476 476
 		{
477 477
 			"name": "getrlimit",
478
-			"action": 4,
478
+			"action": "SCMP_ACT_ALLOW",
479 479
 			"args": []
480 480
 		},
481 481
 		{
482 482
 			"name": "get_robust_list",
483
-			"action": 4,
483
+			"action": "SCMP_ACT_ALLOW",
484 484
 			"args": []
485 485
 		},
486 486
 		{
487 487
 			"name": "getrusage",
488
-			"action": 4,
488
+			"action": "SCMP_ACT_ALLOW",
489 489
 			"args": []
490 490
 		},
491 491
 		{
492 492
 			"name": "getsid",
493
-			"action": 4,
493
+			"action": "SCMP_ACT_ALLOW",
494 494
 			"args": []
495 495
 		},
496 496
 		{
497 497
 			"name": "getsockname",
498
-			"action": 4,
498
+			"action": "SCMP_ACT_ALLOW",
499 499
 			"args": []
500 500
 		},
501 501
 		{
502 502
 			"name": "getsockopt",
503
-			"action": 4,
503
+			"action": "SCMP_ACT_ALLOW",
504 504
 			"args": []
505 505
 		},
506 506
 		{
507 507
 			"name": "get_thread_area",
508
-			"action": 4,
508
+			"action": "SCMP_ACT_ALLOW",
509 509
 			"args": []
510 510
 		},
511 511
 		{
512 512
 			"name": "gettid",
513
-			"action": 4,
513
+			"action": "SCMP_ACT_ALLOW",
514 514
 			"args": []
515 515
 		},
516 516
 		{
517 517
 			"name": "gettimeofday",
518
-			"action": 4,
518
+			"action": "SCMP_ACT_ALLOW",
519 519
 			"args": []
520 520
 		},
521 521
 		{
522 522
 			"name": "getuid",
523
-			"action": 4,
523
+			"action": "SCMP_ACT_ALLOW",
524 524
 			"args": []
525 525
 		},
526 526
 		{
527 527
 			"name": "getuid32",
528
-			"action": 4,
528
+			"action": "SCMP_ACT_ALLOW",
529 529
 			"args": []
530 530
 		},
531 531
 		{
532 532
 			"name": "getxattr",
533
-			"action": 4,
533
+			"action": "SCMP_ACT_ALLOW",
534 534
 			"args": []
535 535
 		},
536 536
 		{
537 537
 			"name": "inotify_add_watch",
538
-			"action": 4,
538
+			"action": "SCMP_ACT_ALLOW",
539 539
 			"args": []
540 540
 		},
541 541
 		{
542 542
 			"name": "inotify_init",
543
-			"action": 4,
543
+			"action": "SCMP_ACT_ALLOW",
544 544
 			"args": []
545 545
 		},
546 546
 		{
547 547
 			"name": "inotify_init1",
548
-			"action": 4,
548
+			"action": "SCMP_ACT_ALLOW",
549 549
 			"args": []
550 550
 		},
551 551
 		{
552 552
 			"name": "inotify_rm_watch",
553
-			"action": 4,
553
+			"action": "SCMP_ACT_ALLOW",
554 554
 			"args": []
555 555
 		},
556 556
 		{
557 557
 			"name": "io_cancel",
558
-			"action": 4,
558
+			"action": "SCMP_ACT_ALLOW",
559 559
 			"args": []
560 560
 		},
561 561
 		{
562 562
 			"name": "ioctl",
563
-			"action": 4,
563
+			"action": "SCMP_ACT_ALLOW",
564 564
 			"args": []
565 565
 		},
566 566
 		{
567 567
 			"name": "io_destroy",
568
-			"action": 4,
568
+			"action": "SCMP_ACT_ALLOW",
569 569
 			"args": []
570 570
 		},
571 571
 		{
572 572
 			"name": "io_getevents",
573
-			"action": 4,
573
+			"action": "SCMP_ACT_ALLOW",
574 574
 			"args": []
575 575
 		},
576 576
 		{
577 577
 			"name": "ioprio_get",
578
-			"action": 4,
578
+			"action": "SCMP_ACT_ALLOW",
579 579
 			"args": []
580 580
 		},
581 581
 		{
582 582
 			"name": "ioprio_set",
583
-			"action": 4,
583
+			"action": "SCMP_ACT_ALLOW",
584 584
 			"args": []
585 585
 		},
586 586
 		{
587 587
 			"name": "io_setup",
588
-			"action": 4,
588
+			"action": "SCMP_ACT_ALLOW",
589 589
 			"args": []
590 590
 		},
591 591
 		{
592 592
 			"name": "io_submit",
593
-			"action": 4,
593
+			"action": "SCMP_ACT_ALLOW",
594 594
 			"args": []
595 595
 		},
596 596
 		{
597 597
 			"name": "kill",
598
-			"action": 4,
598
+			"action": "SCMP_ACT_ALLOW",
599 599
 			"args": []
600 600
 		},
601 601
 		{
602 602
 			"name": "lchown",
603
-			"action": 4,
603
+			"action": "SCMP_ACT_ALLOW",
604 604
 			"args": []
605 605
 		},
606 606
 		{
607 607
 			"name": "lchown32",
608
-			"action": 4,
608
+			"action": "SCMP_ACT_ALLOW",
609 609
 			"args": []
610 610
 		},
611 611
 		{
612 612
 			"name": "lgetxattr",
613
-			"action": 4,
613
+			"action": "SCMP_ACT_ALLOW",
614 614
 			"args": []
615 615
 		},
616 616
 		{
617 617
 			"name": "link",
618
-			"action": 4,
618
+			"action": "SCMP_ACT_ALLOW",
619 619
 			"args": []
620 620
 		},
621 621
 		{
622 622
 			"name": "linkat",
623
-			"action": 4,
623
+			"action": "SCMP_ACT_ALLOW",
624 624
 			"args": []
625 625
 		},
626 626
 		{
627 627
 			"name": "listen",
628
-			"action": 4,
628
+			"action": "SCMP_ACT_ALLOW",
629 629
 			"args": []
630 630
 		},
631 631
 		{
632 632
 			"name": "listxattr",
633
-			"action": 4,
633
+			"action": "SCMP_ACT_ALLOW",
634 634
 			"args": []
635 635
 		},
636 636
 		{
637 637
 			"name": "llistxattr",
638
-			"action": 4,
638
+			"action": "SCMP_ACT_ALLOW",
639 639
 			"args": []
640 640
 		},
641 641
 		{
642 642
 			"name": "_llseek",
643
-			"action": 4,
643
+			"action": "SCMP_ACT_ALLOW",
644 644
 			"args": []
645 645
 		},
646 646
 		{
647 647
 			"name": "lremovexattr",
648
-			"action": 4,
648
+			"action": "SCMP_ACT_ALLOW",
649 649
 			"args": []
650 650
 		},
651 651
 		{
652 652
 			"name": "lseek",
653
-			"action": 4,
653
+			"action": "SCMP_ACT_ALLOW",
654 654
 			"args": []
655 655
 		},
656 656
 		{
657 657
 			"name": "lsetxattr",
658
-			"action": 4,
658
+			"action": "SCMP_ACT_ALLOW",
659 659
 			"args": []
660 660
 		},
661 661
 		{
662 662
 			"name": "lstat",
663
-			"action": 4,
663
+			"action": "SCMP_ACT_ALLOW",
664 664
 			"args": []
665 665
 		},
666 666
 		{
667 667
 			"name": "lstat64",
668
-			"action": 4,
668
+			"action": "SCMP_ACT_ALLOW",
669 669
 			"args": []
670 670
 		},
671 671
 		{
672 672
 			"name": "madvise",
673
-			"action": 4,
673
+			"action": "SCMP_ACT_ALLOW",
674 674
 			"args": []
675 675
 		},
676 676
 		{
677 677
 			"name": "memfd_create",
678
-			"action": 4,
678
+			"action": "SCMP_ACT_ALLOW",
679 679
 			"args": []
680 680
 		},
681 681
 		{
682 682
 			"name": "mincore",
683
-			"action": 4,
683
+			"action": "SCMP_ACT_ALLOW",
684 684
 			"args": []
685 685
 		},
686 686
 		{
687 687
 			"name": "mkdir",
688
-			"action": 4,
688
+			"action": "SCMP_ACT_ALLOW",
689 689
 			"args": []
690 690
 		},
691 691
 		{
692 692
 			"name": "mkdirat",
693
-			"action": 4,
693
+			"action": "SCMP_ACT_ALLOW",
694 694
 			"args": []
695 695
 		},
696 696
 		{
697 697
 			"name": "mknod",
698
-			"action": 4,
698
+			"action": "SCMP_ACT_ALLOW",
699 699
 			"args": []
700 700
 		},
701 701
 		{
702 702
 			"name": "mknodat",
703
-			"action": 4,
703
+			"action": "SCMP_ACT_ALLOW",
704 704
 			"args": []
705 705
 		},
706 706
 		{
707 707
 			"name": "mlock",
708
-			"action": 4,
708
+			"action": "SCMP_ACT_ALLOW",
709 709
 			"args": []
710 710
 		},
711 711
 		{
712 712
 			"name": "mlockall",
713
-			"action": 4,
713
+			"action": "SCMP_ACT_ALLOW",
714 714
 			"args": []
715 715
 		},
716 716
 		{
717 717
 			"name": "mmap",
718
-			"action": 4,
718
+			"action": "SCMP_ACT_ALLOW",
719 719
 			"args": []
720 720
 		},
721 721
 		{
722 722
 			"name": "mmap2",
723
-			"action": 4,
723
+			"action": "SCMP_ACT_ALLOW",
724 724
 			"args": []
725 725
 		},
726 726
 		{
727 727
 			"name": "mprotect",
728
-			"action": 4,
728
+			"action": "SCMP_ACT_ALLOW",
729 729
 			"args": []
730 730
 		},
731 731
 		{
732 732
 			"name": "mq_getsetattr",
733
-			"action": 4,
733
+			"action": "SCMP_ACT_ALLOW",
734 734
 			"args": []
735 735
 		},
736 736
 		{
737 737
 			"name": "mq_notify",
738
-			"action": 4,
738
+			"action": "SCMP_ACT_ALLOW",
739 739
 			"args": []
740 740
 		},
741 741
 		{
742 742
 			"name": "mq_open",
743
-			"action": 4,
743
+			"action": "SCMP_ACT_ALLOW",
744 744
 			"args": []
745 745
 		},
746 746
 		{
747 747
 			"name": "mq_timedreceive",
748
-			"action": 4,
748
+			"action": "SCMP_ACT_ALLOW",
749 749
 			"args": []
750 750
 		},
751 751
 		{
752 752
 			"name": "mq_timedsend",
753
-			"action": 4,
753
+			"action": "SCMP_ACT_ALLOW",
754 754
 			"args": []
755 755
 		},
756 756
 		{
757 757
 			"name": "mq_unlink",
758
-			"action": 4,
758
+			"action": "SCMP_ACT_ALLOW",
759 759
 			"args": []
760 760
 		},
761 761
 		{
762 762
 			"name": "mremap",
763
-			"action": 4,
763
+			"action": "SCMP_ACT_ALLOW",
764 764
 			"args": []
765 765
 		},
766 766
 		{
767 767
 			"name": "msgctl",
768
-			"action": 4,
768
+			"action": "SCMP_ACT_ALLOW",
769 769
 			"args": []
770 770
 		},
771 771
 		{
772 772
 			"name": "msgget",
773
-			"action": 4,
773
+			"action": "SCMP_ACT_ALLOW",
774 774
 			"args": []
775 775
 		},
776 776
 		{
777 777
 			"name": "msgrcv",
778
-			"action": 4,
778
+			"action": "SCMP_ACT_ALLOW",
779 779
 			"args": []
780 780
 		},
781 781
 		{
782 782
 			"name": "msgsnd",
783
-			"action": 4,
783
+			"action": "SCMP_ACT_ALLOW",
784 784
 			"args": []
785 785
 		},
786 786
 		{
787 787
 			"name": "msync",
788
-			"action": 4,
788
+			"action": "SCMP_ACT_ALLOW",
789 789
 			"args": []
790 790
 		},
791 791
 		{
792 792
 			"name": "munlock",
793
-			"action": 4,
793
+			"action": "SCMP_ACT_ALLOW",
794 794
 			"args": []
795 795
 		},
796 796
 		{
797 797
 			"name": "munlockall",
798
-			"action": 4,
798
+			"action": "SCMP_ACT_ALLOW",
799 799
 			"args": []
800 800
 		},
801 801
 		{
802 802
 			"name": "munmap",
803
-			"action": 4,
803
+			"action": "SCMP_ACT_ALLOW",
804 804
 			"args": []
805 805
 		},
806 806
 		{
807 807
 			"name": "nanosleep",
808
-			"action": 4,
808
+			"action": "SCMP_ACT_ALLOW",
809 809
 			"args": []
810 810
 		},
811 811
 		{
812 812
 			"name": "newfstatat",
813
-			"action": 4,
813
+			"action": "SCMP_ACT_ALLOW",
814 814
 			"args": []
815 815
 		},
816 816
 		{
817 817
 			"name": "_newselect",
818
-			"action": 4,
818
+			"action": "SCMP_ACT_ALLOW",
819 819
 			"args": []
820 820
 		},
821 821
 		{
822 822
 			"name": "open",
823
-			"action": 4,
823
+			"action": "SCMP_ACT_ALLOW",
824 824
 			"args": []
825 825
 		},
826 826
 		{
827 827
 			"name": "openat",
828
-			"action": 4,
828
+			"action": "SCMP_ACT_ALLOW",
829 829
 			"args": []
830 830
 		},
831 831
 		{
832 832
 			"name": "pause",
833
-			"action": 4,
833
+			"action": "SCMP_ACT_ALLOW",
834 834
 			"args": []
835 835
 		},
836 836
 		{
837 837
 			"name": "pipe",
838
-			"action": 4,
838
+			"action": "SCMP_ACT_ALLOW",
839 839
 			"args": []
840 840
 		},
841 841
 		{
842 842
 			"name": "pipe2",
843
-			"action": 4,
843
+			"action": "SCMP_ACT_ALLOW",
844 844
 			"args": []
845 845
 		},
846 846
 		{
847 847
 			"name": "poll",
848
-			"action": 4,
848
+			"action": "SCMP_ACT_ALLOW",
849 849
 			"args": []
850 850
 		},
851 851
 		{
852 852
 			"name": "ppoll",
853
-			"action": 4,
853
+			"action": "SCMP_ACT_ALLOW",
854 854
 			"args": []
855 855
 		},
856 856
 		{
857 857
 			"name": "prctl",
858
-			"action": 4,
858
+			"action": "SCMP_ACT_ALLOW",
859 859
 			"args": []
860 860
 		},
861 861
 		{
862 862
 			"name": "pread64",
863
-			"action": 4,
863
+			"action": "SCMP_ACT_ALLOW",
864 864
 			"args": []
865 865
 		},
866 866
 		{
867 867
 			"name": "preadv",
868
-			"action": 4,
868
+			"action": "SCMP_ACT_ALLOW",
869 869
 			"args": []
870 870
 		},
871 871
 		{
872 872
 			"name": "prlimit64",
873
-			"action": 4,
873
+			"action": "SCMP_ACT_ALLOW",
874 874
 			"args": []
875 875
 		},
876 876
 		{
877 877
 			"name": "pselect6",
878
-			"action": 4,
878
+			"action": "SCMP_ACT_ALLOW",
879 879
 			"args": []
880 880
 		},
881 881
 		{
882 882
 			"name": "pwrite64",
883
-			"action": 4,
883
+			"action": "SCMP_ACT_ALLOW",
884 884
 			"args": []
885 885
 		},
886 886
 		{
887 887
 			"name": "pwritev",
888
-			"action": 4,
888
+			"action": "SCMP_ACT_ALLOW",
889 889
 			"args": []
890 890
 		},
891 891
 		{
892 892
 			"name": "read",
893
-			"action": 4,
893
+			"action": "SCMP_ACT_ALLOW",
894 894
 			"args": []
895 895
 		},
896 896
 		{
897 897
 			"name": "readahead",
898
-			"action": 4,
898
+			"action": "SCMP_ACT_ALLOW",
899 899
 			"args": []
900 900
 		},
901 901
 		{
902 902
 			"name": "readlink",
903
-			"action": 4,
903
+			"action": "SCMP_ACT_ALLOW",
904 904
 			"args": []
905 905
 		},
906 906
 		{
907 907
 			"name": "readlinkat",
908
-			"action": 4,
908
+			"action": "SCMP_ACT_ALLOW",
909 909
 			"args": []
910 910
 		},
911 911
 		{
912 912
 			"name": "readv",
913
-			"action": 4,
913
+			"action": "SCMP_ACT_ALLOW",
914 914
 			"args": []
915 915
 		},
916 916
 		{
917 917
 			"name": "recv",
918
-			"action": 4,
918
+			"action": "SCMP_ACT_ALLOW",
919 919
 			"args": []
920 920
 		},
921 921
 		{
922 922
 			"name": "recvfrom",
923
-			"action": 4,
923
+			"action": "SCMP_ACT_ALLOW",
924 924
 			"args": []
925 925
 		},
926 926
 		{
927 927
 			"name": "recvmmsg",
928
-			"action": 4,
928
+			"action": "SCMP_ACT_ALLOW",
929 929
 			"args": []
930 930
 		},
931 931
 		{
932 932
 			"name": "recvmsg",
933
-			"action": 4,
933
+			"action": "SCMP_ACT_ALLOW",
934 934
 			"args": []
935 935
 		},
936 936
 		{
937 937
 			"name": "remap_file_pages",
938
-			"action": 4,
938
+			"action": "SCMP_ACT_ALLOW",
939 939
 			"args": []
940 940
 		},
941 941
 		{
942 942
 			"name": "removexattr",
943
-			"action": 4,
943
+			"action": "SCMP_ACT_ALLOW",
944 944
 			"args": []
945 945
 		},
946 946
 		{
947 947
 			"name": "rename",
948
-			"action": 4,
948
+			"action": "SCMP_ACT_ALLOW",
949 949
 			"args": []
950 950
 		},
951 951
 		{
952 952
 			"name": "renameat",
953
-			"action": 4,
953
+			"action": "SCMP_ACT_ALLOW",
954 954
 			"args": []
955 955
 		},
956 956
 		{
957 957
 			"name": "renameat2",
958
-			"action": 4,
958
+			"action": "SCMP_ACT_ALLOW",
959 959
 			"args": []
960 960
 		},
961 961
 		{
962 962
 			"name": "rmdir",
963
-			"action": 4,
963
+			"action": "SCMP_ACT_ALLOW",
964 964
 			"args": []
965 965
 		},
966 966
 		{
967 967
 			"name": "rt_sigaction",
968
-			"action": 4,
968
+			"action": "SCMP_ACT_ALLOW",
969 969
 			"args": []
970 970
 		},
971 971
 		{
972 972
 			"name": "rt_sigpending",
973
-			"action": 4,
973
+			"action": "SCMP_ACT_ALLOW",
974 974
 			"args": []
975 975
 		},
976 976
 		{
977 977
 			"name": "rt_sigprocmask",
978
-			"action": 4,
978
+			"action": "SCMP_ACT_ALLOW",
979 979
 			"args": []
980 980
 		},
981 981
 		{
982 982
 			"name": "rt_sigqueueinfo",
983
-			"action": 4,
983
+			"action": "SCMP_ACT_ALLOW",
984 984
 			"args": []
985 985
 		},
986 986
 		{
987 987
 			"name": "rt_sigreturn",
988
-			"action": 4,
988
+			"action": "SCMP_ACT_ALLOW",
989 989
 			"args": []
990 990
 		},
991 991
 		{
992 992
 			"name": "rt_sigsuspend",
993
-			"action": 4,
993
+			"action": "SCMP_ACT_ALLOW",
994 994
 			"args": []
995 995
 		},
996 996
 		{
997 997
 			"name": "rt_sigtimedwait",
998
-			"action": 4,
998
+			"action": "SCMP_ACT_ALLOW",
999 999
 			"args": []
1000 1000
 		},
1001 1001
 		{
1002 1002
 			"name": "rt_tgsigqueueinfo",
1003
-			"action": 4,
1003
+			"action": "SCMP_ACT_ALLOW",
1004 1004
 			"args": []
1005 1005
 		},
1006 1006
 		{
1007 1007
 			"name": "sched_getaffinity",
1008
-			"action": 4,
1008
+			"action": "SCMP_ACT_ALLOW",
1009 1009
 			"args": []
1010 1010
 		},
1011 1011
 		{
1012 1012
 			"name": "sched_getattr",
1013
-			"action": 4,
1013
+			"action": "SCMP_ACT_ALLOW",
1014 1014
 			"args": []
1015 1015
 		},
1016 1016
 		{
1017 1017
 			"name": "sched_getparam",
1018
-			"action": 4,
1018
+			"action": "SCMP_ACT_ALLOW",
1019 1019
 			"args": []
1020 1020
 		},
1021 1021
 		{
1022 1022
 			"name": "sched_get_priority_max",
1023
-			"action": 4,
1023
+			"action": "SCMP_ACT_ALLOW",
1024 1024
 			"args": []
1025 1025
 		},
1026 1026
 		{
1027 1027
 			"name": "sched_get_priority_min",
1028
-			"action": 4,
1028
+			"action": "SCMP_ACT_ALLOW",
1029 1029
 			"args": []
1030 1030
 		},
1031 1031
 		{
1032 1032
 			"name": "sched_getscheduler",
1033
-			"action": 4,
1033
+			"action": "SCMP_ACT_ALLOW",
1034 1034
 			"args": []
1035 1035
 		},
1036 1036
 		{
1037 1037
 			"name": "sched_rr_get_interval",
1038
-			"action": 4,
1038
+			"action": "SCMP_ACT_ALLOW",
1039 1039
 			"args": []
1040 1040
 		},
1041 1041
 		{
1042 1042
 			"name": "sched_setaffinity",
1043
-			"action": 4,
1043
+			"action": "SCMP_ACT_ALLOW",
1044 1044
 			"args": []
1045 1045
 		},
1046 1046
 		{
1047 1047
 			"name": "sched_setattr",
1048
-			"action": 4,
1048
+			"action": "SCMP_ACT_ALLOW",
1049 1049
 			"args": []
1050 1050
 		},
1051 1051
 		{
1052 1052
 			"name": "sched_setparam",
1053
-			"action": 4,
1053
+			"action": "SCMP_ACT_ALLOW",
1054 1054
 			"args": []
1055 1055
 		},
1056 1056
 		{
1057 1057
 			"name": "sched_setscheduler",
1058
-			"action": 4,
1058
+			"action": "SCMP_ACT_ALLOW",
1059 1059
 			"args": []
1060 1060
 		},
1061 1061
 		{
1062 1062
 			"name": "sched_yield",
1063
-			"action": 4,
1063
+			"action": "SCMP_ACT_ALLOW",
1064 1064
 			"args": []
1065 1065
 		},
1066 1066
 		{
1067 1067
 			"name": "seccomp",
1068
-			"action": 4,
1068
+			"action": "SCMP_ACT_ALLOW",
1069 1069
 			"args": []
1070 1070
 		},
1071 1071
 		{
1072 1072
 			"name": "select",
1073
-			"action": 4,
1073
+			"action": "SCMP_ACT_ALLOW",
1074 1074
 			"args": []
1075 1075
 		},
1076 1076
 		{
1077 1077
 			"name": "semctl",
1078
-			"action": 4,
1078
+			"action": "SCMP_ACT_ALLOW",
1079 1079
 			"args": []
1080 1080
 		},
1081 1081
 		{
1082 1082
 			"name": "semget",
1083
-			"action": 4,
1083
+			"action": "SCMP_ACT_ALLOW",
1084 1084
 			"args": []
1085 1085
 		},
1086 1086
 		{
1087 1087
 			"name": "semop",
1088
-			"action": 4,
1088
+			"action": "SCMP_ACT_ALLOW",
1089 1089
 			"args": []
1090 1090
 		},
1091 1091
 		{
1092 1092
 			"name": "semtimedop",
1093
-			"action": 4,
1093
+			"action": "SCMP_ACT_ALLOW",
1094 1094
 			"args": []
1095 1095
 		},
1096 1096
 		{
1097 1097
 			"name": "send",
1098
-			"action": 4,
1098
+			"action": "SCMP_ACT_ALLOW",
1099 1099
 			"args": []
1100 1100
 		},
1101 1101
 		{
1102 1102
 			"name": "sendfile",
1103
-			"action": 4,
1103
+			"action": "SCMP_ACT_ALLOW",
1104 1104
 			"args": []
1105 1105
 		},
1106 1106
 		{
1107 1107
 			"name": "sendfile64",
1108
-			"action": 4,
1108
+			"action": "SCMP_ACT_ALLOW",
1109 1109
 			"args": []
1110 1110
 		},
1111 1111
 		{
1112 1112
 			"name": "sendmmsg",
1113
-			"action": 4,
1113
+			"action": "SCMP_ACT_ALLOW",
1114 1114
 			"args": []
1115 1115
 		},
1116 1116
 		{
1117 1117
 			"name": "sendmsg",
1118
-			"action": 4,
1118
+			"action": "SCMP_ACT_ALLOW",
1119 1119
 			"args": []
1120 1120
 		},
1121 1121
 		{
1122 1122
 			"name": "sendto",
1123
-			"action": 4,
1123
+			"action": "SCMP_ACT_ALLOW",
1124 1124
 			"args": []
1125 1125
 		},
1126 1126
 		{
1127 1127
 			"name": "setdomainname",
1128
-			"action": 4,
1128
+			"action": "SCMP_ACT_ALLOW",
1129 1129
 			"args": []
1130 1130
 		},
1131 1131
 		{
1132 1132
 			"name": "setfsgid",
1133
-			"action": 4,
1133
+			"action": "SCMP_ACT_ALLOW",
1134 1134
 			"args": []
1135 1135
 		},
1136 1136
 		{
1137 1137
 			"name": "setfsgid32",
1138
-			"action": 4,
1138
+			"action": "SCMP_ACT_ALLOW",
1139 1139
 			"args": []
1140 1140
 		},
1141 1141
 		{
1142 1142
 			"name": "setfsuid",
1143
-			"action": 4,
1143
+			"action": "SCMP_ACT_ALLOW",
1144 1144
 			"args": []
1145 1145
 		},
1146 1146
 		{
1147 1147
 			"name": "setfsuid32",
1148
-			"action": 4,
1148
+			"action": "SCMP_ACT_ALLOW",
1149 1149
 			"args": []
1150 1150
 		},
1151 1151
 		{
1152 1152
 			"name": "setgid",
1153
-			"action": 4,
1153
+			"action": "SCMP_ACT_ALLOW",
1154 1154
 			"args": []
1155 1155
 		},
1156 1156
 		{
1157 1157
 			"name": "setgid32",
1158
-			"action": 4,
1158
+			"action": "SCMP_ACT_ALLOW",
1159 1159
 			"args": []
1160 1160
 		},
1161 1161
 		{
1162 1162
 			"name": "setgroups",
1163
-			"action": 4,
1163
+			"action": "SCMP_ACT_ALLOW",
1164 1164
 			"args": []
1165 1165
 		},
1166 1166
 		{
1167 1167
 			"name": "setgroups32",
1168
-			"action": 4,
1168
+			"action": "SCMP_ACT_ALLOW",
1169 1169
 			"args": []
1170 1170
 		},
1171 1171
 		{
1172 1172
 			"name": "sethostname",
1173
-			"action": 4,
1173
+			"action": "SCMP_ACT_ALLOW",
1174 1174
 			"args": []
1175 1175
 		},
1176 1176
 		{
1177 1177
 			"name": "setitimer",
1178
-			"action": 4,
1178
+			"action": "SCMP_ACT_ALLOW",
1179 1179
 			"args": []
1180 1180
 		},
1181 1181
 		{
1182 1182
 			"name": "setpgid",
1183
-			"action": 4,
1183
+			"action": "SCMP_ACT_ALLOW",
1184 1184
 			"args": []
1185 1185
 		},
1186 1186
 		{
1187 1187
 			"name": "setpriority",
1188
-			"action": 4,
1188
+			"action": "SCMP_ACT_ALLOW",
1189 1189
 			"args": []
1190 1190
 		},
1191 1191
 		{
1192 1192
 			"name": "setregid",
1193
-			"action": 4,
1193
+			"action": "SCMP_ACT_ALLOW",
1194 1194
 			"args": []
1195 1195
 		},
1196 1196
 		{
1197 1197
 			"name": "setregid32",
1198
-			"action": 4,
1198
+			"action": "SCMP_ACT_ALLOW",
1199 1199
 			"args": []
1200 1200
 		},
1201 1201
 		{
1202 1202
 			"name": "setresgid",
1203
-			"action": 4,
1203
+			"action": "SCMP_ACT_ALLOW",
1204 1204
 			"args": []
1205 1205
 		},
1206 1206
 		{
1207 1207
 			"name": "setresgid32",
1208
-			"action": 4,
1208
+			"action": "SCMP_ACT_ALLOW",
1209 1209
 			"args": []
1210 1210
 		},
1211 1211
 		{
1212 1212
 			"name": "setresuid",
1213
-			"action": 4,
1213
+			"action": "SCMP_ACT_ALLOW",
1214 1214
 			"args": []
1215 1215
 		},
1216 1216
 		{
1217 1217
 			"name": "setresuid32",
1218
-			"action": 4,
1218
+			"action": "SCMP_ACT_ALLOW",
1219 1219
 			"args": []
1220 1220
 		},
1221 1221
 		{
1222 1222
 			"name": "setreuid",
1223
-			"action": 4,
1223
+			"action": "SCMP_ACT_ALLOW",
1224 1224
 			"args": []
1225 1225
 		},
1226 1226
 		{
1227 1227
 			"name": "setreuid32",
1228
-			"action": 4,
1228
+			"action": "SCMP_ACT_ALLOW",
1229 1229
 			"args": []
1230 1230
 		},
1231 1231
 		{
1232 1232
 			"name": "setrlimit",
1233
-			"action": 4,
1233
+			"action": "SCMP_ACT_ALLOW",
1234 1234
 			"args": []
1235 1235
 		},
1236 1236
 		{
1237 1237
 			"name": "set_robust_list",
1238
-			"action": 4,
1238
+			"action": "SCMP_ACT_ALLOW",
1239 1239
 			"args": []
1240 1240
 		},
1241 1241
 		{
1242 1242
 			"name": "setsid",
1243
-			"action": 4,
1243
+			"action": "SCMP_ACT_ALLOW",
1244 1244
 			"args": []
1245 1245
 		},
1246 1246
 		{
1247 1247
 			"name": "setsockopt",
1248
-			"action": 4,
1248
+			"action": "SCMP_ACT_ALLOW",
1249 1249
 			"args": []
1250 1250
 		},
1251 1251
 		{
1252 1252
 			"name": "set_thread_area",
1253
-			"action": 4,
1253
+			"action": "SCMP_ACT_ALLOW",
1254 1254
 			"args": []
1255 1255
 		},
1256 1256
 		{
1257 1257
 			"name": "set_tid_address",
1258
-			"action": 4,
1258
+			"action": "SCMP_ACT_ALLOW",
1259 1259
 			"args": []
1260 1260
 		},
1261 1261
 		{
1262 1262
 			"name": "setuid",
1263
-			"action": 4,
1263
+			"action": "SCMP_ACT_ALLOW",
1264 1264
 			"args": []
1265 1265
 		},
1266 1266
 		{
1267 1267
 			"name": "setuid32",
1268
-			"action": 4,
1268
+			"action": "SCMP_ACT_ALLOW",
1269 1269
 			"args": []
1270 1270
 		},
1271 1271
 		{
1272 1272
 			"name": "setxattr",
1273
-			"action": 4,
1273
+			"action": "SCMP_ACT_ALLOW",
1274 1274
 			"args": []
1275 1275
 		},
1276 1276
 		{
1277 1277
 			"name": "shmat",
1278
-			"action": 4,
1278
+			"action": "SCMP_ACT_ALLOW",
1279 1279
 			"args": []
1280 1280
 		},
1281 1281
 		{
1282 1282
 			"name": "shmctl",
1283
-			"action": 4,
1283
+			"action": "SCMP_ACT_ALLOW",
1284 1284
 			"args": []
1285 1285
 		},
1286 1286
 		{
1287 1287
 			"name": "shmdt",
1288
-			"action": 4,
1288
+			"action": "SCMP_ACT_ALLOW",
1289 1289
 			"args": []
1290 1290
 		},
1291 1291
 		{
1292 1292
 			"name": "shmget",
1293
-			"action": 4,
1293
+			"action": "SCMP_ACT_ALLOW",
1294 1294
 			"args": []
1295 1295
 		},
1296 1296
 		{
1297 1297
 			"name": "shutdown",
1298
-			"action": 4,
1298
+			"action": "SCMP_ACT_ALLOW",
1299 1299
 			"args": []
1300 1300
 		},
1301 1301
 		{
1302 1302
 			"name": "sigaltstack",
1303
-			"action": 4,
1303
+			"action": "SCMP_ACT_ALLOW",
1304 1304
 			"args": []
1305 1305
 		},
1306 1306
 		{
1307 1307
 			"name": "signalfd",
1308
-			"action": 4,
1308
+			"action": "SCMP_ACT_ALLOW",
1309 1309
 			"args": []
1310 1310
 		},
1311 1311
 		{
1312 1312
 			"name": "signalfd4",
1313
-			"action": 4,
1313
+			"action": "SCMP_ACT_ALLOW",
1314 1314
 			"args": []
1315 1315
 		},
1316 1316
 		{
1317 1317
 			"name": "sigreturn",
1318
-			"action": 4,
1318
+			"action": "SCMP_ACT_ALLOW",
1319 1319
 			"args": []
1320 1320
 		},
1321 1321
 		{
1322 1322
 			"name": "socket",
1323
-			"action": 4,
1323
+			"action": "SCMP_ACT_ALLOW",
1324 1324
 			"args": []
1325 1325
 		},
1326 1326
 		{
1327 1327
 			"name": "socketpair",
1328
-			"action": 4,
1328
+			"action": "SCMP_ACT_ALLOW",
1329 1329
 			"args": []
1330 1330
 		},
1331 1331
 		{
1332 1332
 			"name": "splice",
1333
-			"action": 4,
1333
+			"action": "SCMP_ACT_ALLOW",
1334 1334
 			"args": []
1335 1335
 		},
1336 1336
 		{
1337 1337
 			"name": "stat",
1338
-			"action": 4,
1338
+			"action": "SCMP_ACT_ALLOW",
1339 1339
 			"args": []
1340 1340
 		},
1341 1341
 		{
1342 1342
 			"name": "stat64",
1343
-			"action": 4,
1343
+			"action": "SCMP_ACT_ALLOW",
1344 1344
 			"args": []
1345 1345
 		},
1346 1346
 		{
1347 1347
 			"name": "statfs",
1348
-			"action": 4,
1348
+			"action": "SCMP_ACT_ALLOW",
1349 1349
 			"args": []
1350 1350
 		},
1351 1351
 		{
1352 1352
 			"name": "statfs64",
1353
-			"action": 4,
1353
+			"action": "SCMP_ACT_ALLOW",
1354 1354
 			"args": []
1355 1355
 		},
1356 1356
 		{
1357 1357
 			"name": "symlink",
1358
-			"action": 4,
1358
+			"action": "SCMP_ACT_ALLOW",
1359 1359
 			"args": []
1360 1360
 		},
1361 1361
 		{
1362 1362
 			"name": "symlinkat",
1363
-			"action": 4,
1363
+			"action": "SCMP_ACT_ALLOW",
1364 1364
 			"args": []
1365 1365
 		},
1366 1366
 		{
1367 1367
 			"name": "sync",
1368
-			"action": 4,
1368
+			"action": "SCMP_ACT_ALLOW",
1369 1369
 			"args": []
1370 1370
 		},
1371 1371
 		{
1372 1372
 			"name": "sync_file_range",
1373
-			"action": 4,
1373
+			"action": "SCMP_ACT_ALLOW",
1374 1374
 			"args": []
1375 1375
 		},
1376 1376
 		{
1377 1377
 			"name": "syncfs",
1378
-			"action": 4,
1378
+			"action": "SCMP_ACT_ALLOW",
1379 1379
 			"args": []
1380 1380
 		},
1381 1381
 		{
1382 1382
 			"name": "sysinfo",
1383
-			"action": 4,
1383
+			"action": "SCMP_ACT_ALLOW",
1384 1384
 			"args": []
1385 1385
 		},
1386 1386
 		{
1387 1387
 			"name": "syslog",
1388
-			"action": 4,
1388
+			"action": "SCMP_ACT_ALLOW",
1389 1389
 			"args": []
1390 1390
 		},
1391 1391
 		{
1392 1392
 			"name": "tee",
1393
-			"action": 4,
1393
+			"action": "SCMP_ACT_ALLOW",
1394 1394
 			"args": []
1395 1395
 		},
1396 1396
 		{
1397 1397
 			"name": "tgkill",
1398
-			"action": 4,
1398
+			"action": "SCMP_ACT_ALLOW",
1399 1399
 			"args": []
1400 1400
 		},
1401 1401
 		{
1402 1402
 			"name": "time",
1403
-			"action": 4,
1403
+			"action": "SCMP_ACT_ALLOW",
1404 1404
 			"args": []
1405 1405
 		},
1406 1406
 		{
1407 1407
 			"name": "timer_create",
1408
-			"action": 4,
1408
+			"action": "SCMP_ACT_ALLOW",
1409 1409
 			"args": []
1410 1410
 		},
1411 1411
 		{
1412 1412
 			"name": "timer_delete",
1413
-			"action": 4,
1413
+			"action": "SCMP_ACT_ALLOW",
1414 1414
 			"args": []
1415 1415
 		},
1416 1416
 		{
1417 1417
 			"name": "timerfd_create",
1418
-			"action": 4,
1418
+			"action": "SCMP_ACT_ALLOW",
1419 1419
 			"args": []
1420 1420
 		},
1421 1421
 		{
1422 1422
 			"name": "timerfd_gettime",
1423
-			"action": 4,
1423
+			"action": "SCMP_ACT_ALLOW",
1424 1424
 			"args": []
1425 1425
 		},
1426 1426
 		{
1427 1427
 			"name": "timerfd_settime",
1428
-			"action": 4,
1428
+			"action": "SCMP_ACT_ALLOW",
1429 1429
 			"args": []
1430 1430
 		},
1431 1431
 		{
1432 1432
 			"name": "timer_getoverrun",
1433
-			"action": 4,
1433
+			"action": "SCMP_ACT_ALLOW",
1434 1434
 			"args": []
1435 1435
 		},
1436 1436
 		{
1437 1437
 			"name": "timer_gettime",
1438
-			"action": 4,
1438
+			"action": "SCMP_ACT_ALLOW",
1439 1439
 			"args": []
1440 1440
 		},
1441 1441
 		{
1442 1442
 			"name": "timer_settime",
1443
-			"action": 4,
1443
+			"action": "SCMP_ACT_ALLOW",
1444 1444
 			"args": []
1445 1445
 		},
1446 1446
 		{
1447 1447
 			"name": "times",
1448
-			"action": 4,
1448
+			"action": "SCMP_ACT_ALLOW",
1449 1449
 			"args": []
1450 1450
 		},
1451 1451
 		{
1452 1452
 			"name": "tkill",
1453
-			"action": 4,
1453
+			"action": "SCMP_ACT_ALLOW",
1454 1454
 			"args": []
1455 1455
 		},
1456 1456
 		{
1457 1457
 			"name": "truncate",
1458
-			"action": 4,
1458
+			"action": "SCMP_ACT_ALLOW",
1459 1459
 			"args": []
1460 1460
 		},
1461 1461
 		{
1462 1462
 			"name": "truncate64",
1463
-			"action": 4,
1463
+			"action": "SCMP_ACT_ALLOW",
1464 1464
 			"args": []
1465 1465
 		},
1466 1466
 		{
1467 1467
 			"name": "ugetrlimit",
1468
-			"action": 4,
1468
+			"action": "SCMP_ACT_ALLOW",
1469 1469
 			"args": []
1470 1470
 		},
1471 1471
 		{
1472 1472
 			"name": "umask",
1473
-			"action": 4,
1473
+			"action": "SCMP_ACT_ALLOW",
1474 1474
 			"args": []
1475 1475
 		},
1476 1476
 		{
1477 1477
 			"name": "uname",
1478
-			"action": 4,
1478
+			"action": "SCMP_ACT_ALLOW",
1479 1479
 			"args": []
1480 1480
 		},
1481 1481
 		{
1482 1482
 			"name": "unlink",
1483
-			"action": 4,
1483
+			"action": "SCMP_ACT_ALLOW",
1484 1484
 			"args": []
1485 1485
 		},
1486 1486
 		{
1487 1487
 			"name": "unlinkat",
1488
-			"action": 4,
1488
+			"action": "SCMP_ACT_ALLOW",
1489 1489
 			"args": []
1490 1490
 		},
1491 1491
 		{
1492 1492
 			"name": "utime",
1493
-			"action": 4,
1493
+			"action": "SCMP_ACT_ALLOW",
1494 1494
 			"args": []
1495 1495
 		},
1496 1496
 		{
1497 1497
 			"name": "utimensat",
1498
-			"action": 4,
1498
+			"action": "SCMP_ACT_ALLOW",
1499 1499
 			"args": []
1500 1500
 		},
1501 1501
 		{
1502 1502
 			"name": "utimes",
1503
-			"action": 4,
1503
+			"action": "SCMP_ACT_ALLOW",
1504 1504
 			"args": []
1505 1505
 		},
1506 1506
 		{
1507 1507
 			"name": "vfork",
1508
-			"action": 4,
1508
+			"action": "SCMP_ACT_ALLOW",
1509 1509
 			"args": []
1510 1510
 		},
1511 1511
 		{
1512 1512
 			"name": "vhangup",
1513
-			"action": 4,
1513
+			"action": "SCMP_ACT_ALLOW",
1514 1514
 			"args": []
1515 1515
 		},
1516 1516
 		{
1517 1517
 			"name": "vmsplice",
1518
-			"action": 4,
1518
+			"action": "SCMP_ACT_ALLOW",
1519 1519
 			"args": []
1520 1520
 		},
1521 1521
 		{
1522 1522
 			"name": "wait4",
1523
-			"action": 4,
1523
+			"action": "SCMP_ACT_ALLOW",
1524 1524
 			"args": []
1525 1525
 		},
1526 1526
 		{
1527 1527
 			"name": "waitid",
1528
-			"action": 4,
1528
+			"action": "SCMP_ACT_ALLOW",
1529 1529
 			"args": []
1530 1530
 		},
1531 1531
 		{
1532 1532
 			"name": "waitpid",
1533
-			"action": 4,
1533
+			"action": "SCMP_ACT_ALLOW",
1534 1534
 			"args": []
1535 1535
 		},
1536 1536
 		{
1537 1537
 			"name": "write",
1538
-			"action": 4,
1538
+			"action": "SCMP_ACT_ALLOW",
1539 1539
 			"args": []
1540 1540
 		},
1541 1541
 		{
1542 1542
 			"name": "writev",
1543
-			"action": 4,
1543
+			"action": "SCMP_ACT_ALLOW",
1544 1544
 			"args": []
1545 1545
 		},
1546 1546
 		{
1547 1547
 			"name": "modify_ldt",
1548
-			"action": 4,
1548
+			"action": "SCMP_ACT_ALLOW",
1549 1549
 			"args": []
1550 1550
 		},
1551 1551
 		{
1552 1552
 			"name": "breakpoint",
1553
-			"action": 4,
1553
+			"action": "SCMP_ACT_ALLOW",
1554 1554
 			"args": []
1555 1555
 		},
1556 1556
 		{
1557 1557
 			"name": "cacheflush",
1558
-			"action": 4,
1558
+			"action": "SCMP_ACT_ALLOW",
1559 1559
 			"args": []
1560 1560
 		},
1561 1561
 		{
1562 1562
 			"name": "set_tls",
1563
-			"action": 4,
1563
+			"action": "SCMP_ACT_ALLOW",
1564 1564
 			"args": []
1565 1565
 		}
1566 1566
 	]
... ...
@@ -20,11 +20,8 @@ func main() {
20 20
 	}
21 21
 	f := filepath.Join(wd, "default.json")
22 22
 
23
-	// get the default profile
24
-	p := seccomp.GetDefaultProfile()
25
-
26 23
 	// write the default profile to the file
27
-	b, err := json.MarshalIndent(p, "", "\t")
24
+	b, err := json.MarshalIndent(seccomp.DefaultProfile, "", "\t")
28 25
 	if err != nil {
29 26
 		panic(err)
30 27
 	}
... ...
@@ -14,8 +14,8 @@ import (
14 14
 //go:generate go run -tags 'seccomp' generate.go
15 15
 
16 16
 // GetDefaultProfile returns the default seccomp profile.
17
-func GetDefaultProfile() *configs.Seccomp {
18
-	return defaultProfile
17
+func GetDefaultProfile() (*configs.Seccomp, error) {
18
+	return setupSeccomp(DefaultProfile)
19 19
 }
20 20
 
21 21
 // LoadProfile takes a file path a decodes the seccomp profile.
... ...
@@ -5,1597 +5,1597 @@ package seccomp
5 5
 import (
6 6
 	"syscall"
7 7
 
8
-	"github.com/opencontainers/runc/libcontainer/configs"
8
+	"github.com/docker/engine-api/types"
9 9
 	libseccomp "github.com/seccomp/libseccomp-golang"
10 10
 )
11 11
 
12
-func arches() []string {
12
+func arches() []types.Arch {
13 13
 	var native, err = libseccomp.GetNativeArch()
14 14
 	if err != nil {
15
-		return []string{}
15
+		return []types.Arch{}
16 16
 	}
17 17
 	var a = native.String()
18 18
 	switch a {
19 19
 	case "amd64":
20
-		return []string{"amd64", "x86", "x32"}
20
+		return []types.Arch{types.ArchX86_64, types.ArchX86, types.ArchX32}
21 21
 	case "arm64":
22
-		return []string{"arm64", "arm"}
22
+		return []types.Arch{types.ArchARM, types.ArchAARCH64}
23 23
 	case "mips64":
24
-		return []string{"mips64", "mips64n32", "mips"}
24
+		return []types.Arch{types.ArchMIPS, types.ArchMIPS64, types.ArchMIPS64N32}
25 25
 	case "mips64n32":
26
-		return []string{"mips64", "mips64n32", "mips"}
26
+		return []types.Arch{types.ArchMIPS, types.ArchMIPS64, types.ArchMIPS64N32}
27 27
 	case "mipsel64":
28
-		return []string{"mipsel64", "mipsel64n32", "mipsel"}
28
+		return []types.Arch{types.ArchMIPSEL, types.ArchMIPSEL64, types.ArchMIPSEL64N32}
29 29
 	case "mipsel64n32":
30
-		return []string{"mipsel64", "mipsel64n32", "mipsel"}
30
+		return []types.Arch{types.ArchMIPSEL, types.ArchMIPSEL64, types.ArchMIPSEL64N32}
31 31
 	default:
32
-		return []string{a}
32
+		return []types.Arch{}
33 33
 	}
34 34
 }
35 35
 
36
-// defaultProfile defines the whitelist for the default seccomp profile.
37
-var defaultProfile = &configs.Seccomp{
38
-	DefaultAction: configs.Errno,
36
+// DefaultProfile defines the whitelist for the default seccomp profile.
37
+var DefaultProfile = &types.Seccomp{
38
+	DefaultAction: types.ActErrno,
39 39
 	Architectures: arches(),
40
-	Syscalls: []*configs.Syscall{
40
+	Syscalls: []*types.Syscall{
41 41
 		{
42 42
 			Name:   "accept",
43
-			Action: configs.Allow,
44
-			Args:   []*configs.Arg{},
43
+			Action: types.ActAllow,
44
+			Args:   []*types.Arg{},
45 45
 		},
46 46
 		{
47 47
 			Name:   "accept4",
48
-			Action: configs.Allow,
49
-			Args:   []*configs.Arg{},
48
+			Action: types.ActAllow,
49
+			Args:   []*types.Arg{},
50 50
 		},
51 51
 		{
52 52
 			Name:   "access",
53
-			Action: configs.Allow,
54
-			Args:   []*configs.Arg{},
53
+			Action: types.ActAllow,
54
+			Args:   []*types.Arg{},
55 55
 		},
56 56
 		{
57 57
 			Name:   "alarm",
58
-			Action: configs.Allow,
59
-			Args:   []*configs.Arg{},
58
+			Action: types.ActAllow,
59
+			Args:   []*types.Arg{},
60 60
 		},
61 61
 		{
62 62
 			Name:   "arch_prctl",
63
-			Action: configs.Allow,
64
-			Args:   []*configs.Arg{},
63
+			Action: types.ActAllow,
64
+			Args:   []*types.Arg{},
65 65
 		},
66 66
 		{
67 67
 			Name:   "bind",
68
-			Action: configs.Allow,
69
-			Args:   []*configs.Arg{},
68
+			Action: types.ActAllow,
69
+			Args:   []*types.Arg{},
70 70
 		},
71 71
 		{
72 72
 			Name:   "brk",
73
-			Action: configs.Allow,
74
-			Args:   []*configs.Arg{},
73
+			Action: types.ActAllow,
74
+			Args:   []*types.Arg{},
75 75
 		},
76 76
 		{
77 77
 			Name:   "capget",
78
-			Action: configs.Allow,
79
-			Args:   []*configs.Arg{},
78
+			Action: types.ActAllow,
79
+			Args:   []*types.Arg{},
80 80
 		},
81 81
 		{
82 82
 			Name:   "capset",
83
-			Action: configs.Allow,
84
-			Args:   []*configs.Arg{},
83
+			Action: types.ActAllow,
84
+			Args:   []*types.Arg{},
85 85
 		},
86 86
 		{
87 87
 			Name:   "chdir",
88
-			Action: configs.Allow,
89
-			Args:   []*configs.Arg{},
88
+			Action: types.ActAllow,
89
+			Args:   []*types.Arg{},
90 90
 		},
91 91
 		{
92 92
 			Name:   "chmod",
93
-			Action: configs.Allow,
94
-			Args:   []*configs.Arg{},
93
+			Action: types.ActAllow,
94
+			Args:   []*types.Arg{},
95 95
 		},
96 96
 		{
97 97
 			Name:   "chown",
98
-			Action: configs.Allow,
99
-			Args:   []*configs.Arg{},
98
+			Action: types.ActAllow,
99
+			Args:   []*types.Arg{},
100 100
 		},
101 101
 		{
102 102
 			Name:   "chown32",
103
-			Action: configs.Allow,
104
-			Args:   []*configs.Arg{},
103
+			Action: types.ActAllow,
104
+			Args:   []*types.Arg{},
105 105
 		},
106 106
 		{
107 107
 			Name:   "chroot",
108
-			Action: configs.Allow,
109
-			Args:   []*configs.Arg{},
108
+			Action: types.ActAllow,
109
+			Args:   []*types.Arg{},
110 110
 		},
111 111
 		{
112 112
 			Name:   "clock_getres",
113
-			Action: configs.Allow,
114
-			Args:   []*configs.Arg{},
113
+			Action: types.ActAllow,
114
+			Args:   []*types.Arg{},
115 115
 		},
116 116
 		{
117 117
 			Name:   "clock_gettime",
118
-			Action: configs.Allow,
119
-			Args:   []*configs.Arg{},
118
+			Action: types.ActAllow,
119
+			Args:   []*types.Arg{},
120 120
 		},
121 121
 		{
122 122
 			Name:   "clock_nanosleep",
123
-			Action: configs.Allow,
124
-			Args:   []*configs.Arg{},
123
+			Action: types.ActAllow,
124
+			Args:   []*types.Arg{},
125 125
 		},
126 126
 		{
127 127
 			Name:   "clone",
128
-			Action: configs.Allow,
129
-			Args: []*configs.Arg{
128
+			Action: types.ActAllow,
129
+			Args: []*types.Arg{
130 130
 				{
131 131
 					Index:    0,
132 132
 					Value:    syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWIPC | syscall.CLONE_NEWUSER | syscall.CLONE_NEWPID | syscall.CLONE_NEWNET,
133 133
 					ValueTwo: 0,
134
-					Op:       configs.MaskEqualTo,
134
+					Op:       types.OpMaskedEqual,
135 135
 				},
136 136
 			},
137 137
 		},
138 138
 		{
139 139
 			Name:   "close",
140
-			Action: configs.Allow,
141
-			Args:   []*configs.Arg{},
140
+			Action: types.ActAllow,
141
+			Args:   []*types.Arg{},
142 142
 		},
143 143
 		{
144 144
 			Name:   "connect",
145
-			Action: configs.Allow,
146
-			Args:   []*configs.Arg{},
145
+			Action: types.ActAllow,
146
+			Args:   []*types.Arg{},
147 147
 		},
148 148
 		{
149 149
 			Name:   "creat",
150
-			Action: configs.Allow,
151
-			Args:   []*configs.Arg{},
150
+			Action: types.ActAllow,
151
+			Args:   []*types.Arg{},
152 152
 		},
153 153
 		{
154 154
 			Name:   "dup",
155
-			Action: configs.Allow,
156
-			Args:   []*configs.Arg{},
155
+			Action: types.ActAllow,
156
+			Args:   []*types.Arg{},
157 157
 		},
158 158
 		{
159 159
 			Name:   "dup2",
160
-			Action: configs.Allow,
161
-			Args:   []*configs.Arg{},
160
+			Action: types.ActAllow,
161
+			Args:   []*types.Arg{},
162 162
 		},
163 163
 		{
164 164
 			Name:   "dup3",
165
-			Action: configs.Allow,
166
-			Args:   []*configs.Arg{},
165
+			Action: types.ActAllow,
166
+			Args:   []*types.Arg{},
167 167
 		},
168 168
 		{
169 169
 			Name:   "epoll_create",
170
-			Action: configs.Allow,
171
-			Args:   []*configs.Arg{},
170
+			Action: types.ActAllow,
171
+			Args:   []*types.Arg{},
172 172
 		},
173 173
 		{
174 174
 			Name:   "epoll_create1",
175
-			Action: configs.Allow,
176
-			Args:   []*configs.Arg{},
175
+			Action: types.ActAllow,
176
+			Args:   []*types.Arg{},
177 177
 		},
178 178
 		{
179 179
 			Name:   "epoll_ctl",
180
-			Action: configs.Allow,
181
-			Args:   []*configs.Arg{},
180
+			Action: types.ActAllow,
181
+			Args:   []*types.Arg{},
182 182
 		},
183 183
 		{
184 184
 			Name:   "epoll_ctl_old",
185
-			Action: configs.Allow,
186
-			Args:   []*configs.Arg{},
185
+			Action: types.ActAllow,
186
+			Args:   []*types.Arg{},
187 187
 		},
188 188
 		{
189 189
 			Name:   "epoll_pwait",
190
-			Action: configs.Allow,
191
-			Args:   []*configs.Arg{},
190
+			Action: types.ActAllow,
191
+			Args:   []*types.Arg{},
192 192
 		},
193 193
 		{
194 194
 			Name:   "epoll_wait",
195
-			Action: configs.Allow,
196
-			Args:   []*configs.Arg{},
195
+			Action: types.ActAllow,
196
+			Args:   []*types.Arg{},
197 197
 		},
198 198
 		{
199 199
 			Name:   "epoll_wait_old",
200
-			Action: configs.Allow,
201
-			Args:   []*configs.Arg{},
200
+			Action: types.ActAllow,
201
+			Args:   []*types.Arg{},
202 202
 		},
203 203
 		{
204 204
 			Name:   "eventfd",
205
-			Action: configs.Allow,
206
-			Args:   []*configs.Arg{},
205
+			Action: types.ActAllow,
206
+			Args:   []*types.Arg{},
207 207
 		},
208 208
 		{
209 209
 			Name:   "eventfd2",
210
-			Action: configs.Allow,
211
-			Args:   []*configs.Arg{},
210
+			Action: types.ActAllow,
211
+			Args:   []*types.Arg{},
212 212
 		},
213 213
 		{
214 214
 			Name:   "execve",
215
-			Action: configs.Allow,
216
-			Args:   []*configs.Arg{},
215
+			Action: types.ActAllow,
216
+			Args:   []*types.Arg{},
217 217
 		},
218 218
 		{
219 219
 			Name:   "execveat",
220
-			Action: configs.Allow,
221
-			Args:   []*configs.Arg{},
220
+			Action: types.ActAllow,
221
+			Args:   []*types.Arg{},
222 222
 		},
223 223
 		{
224 224
 			Name:   "exit",
225
-			Action: configs.Allow,
226
-			Args:   []*configs.Arg{},
225
+			Action: types.ActAllow,
226
+			Args:   []*types.Arg{},
227 227
 		},
228 228
 		{
229 229
 			Name:   "exit_group",
230
-			Action: configs.Allow,
231
-			Args:   []*configs.Arg{},
230
+			Action: types.ActAllow,
231
+			Args:   []*types.Arg{},
232 232
 		},
233 233
 		{
234 234
 			Name:   "faccessat",
235
-			Action: configs.Allow,
236
-			Args:   []*configs.Arg{},
235
+			Action: types.ActAllow,
236
+			Args:   []*types.Arg{},
237 237
 		},
238 238
 		{
239 239
 			Name:   "fadvise64",
240
-			Action: configs.Allow,
241
-			Args:   []*configs.Arg{},
240
+			Action: types.ActAllow,
241
+			Args:   []*types.Arg{},
242 242
 		},
243 243
 		{
244 244
 			Name:   "fadvise64_64",
245
-			Action: configs.Allow,
246
-			Args:   []*configs.Arg{},
245
+			Action: types.ActAllow,
246
+			Args:   []*types.Arg{},
247 247
 		},
248 248
 		{
249 249
 			Name:   "fallocate",
250
-			Action: configs.Allow,
251
-			Args:   []*configs.Arg{},
250
+			Action: types.ActAllow,
251
+			Args:   []*types.Arg{},
252 252
 		},
253 253
 		{
254 254
 			Name:   "fanotify_init",
255
-			Action: configs.Allow,
256
-			Args:   []*configs.Arg{},
255
+			Action: types.ActAllow,
256
+			Args:   []*types.Arg{},
257 257
 		},
258 258
 		{
259 259
 			Name:   "fanotify_mark",
260
-			Action: configs.Allow,
261
-			Args:   []*configs.Arg{},
260
+			Action: types.ActAllow,
261
+			Args:   []*types.Arg{},
262 262
 		},
263 263
 		{
264 264
 			Name:   "fchdir",
265
-			Action: configs.Allow,
266
-			Args:   []*configs.Arg{},
265
+			Action: types.ActAllow,
266
+			Args:   []*types.Arg{},
267 267
 		},
268 268
 		{
269 269
 			Name:   "fchmod",
270
-			Action: configs.Allow,
271
-			Args:   []*configs.Arg{},
270
+			Action: types.ActAllow,
271
+			Args:   []*types.Arg{},
272 272
 		},
273 273
 		{
274 274
 			Name:   "fchmodat",
275
-			Action: configs.Allow,
276
-			Args:   []*configs.Arg{},
275
+			Action: types.ActAllow,
276
+			Args:   []*types.Arg{},
277 277
 		},
278 278
 		{
279 279
 			Name:   "fchown",
280
-			Action: configs.Allow,
281
-			Args:   []*configs.Arg{},
280
+			Action: types.ActAllow,
281
+			Args:   []*types.Arg{},
282 282
 		},
283 283
 		{
284 284
 			Name:   "fchown32",
285
-			Action: configs.Allow,
286
-			Args:   []*configs.Arg{},
285
+			Action: types.ActAllow,
286
+			Args:   []*types.Arg{},
287 287
 		},
288 288
 		{
289 289
 			Name:   "fchownat",
290
-			Action: configs.Allow,
291
-			Args:   []*configs.Arg{},
290
+			Action: types.ActAllow,
291
+			Args:   []*types.Arg{},
292 292
 		},
293 293
 		{
294 294
 			Name:   "fcntl",
295
-			Action: configs.Allow,
296
-			Args:   []*configs.Arg{},
295
+			Action: types.ActAllow,
296
+			Args:   []*types.Arg{},
297 297
 		},
298 298
 		{
299 299
 			Name:   "fcntl64",
300
-			Action: configs.Allow,
301
-			Args:   []*configs.Arg{},
300
+			Action: types.ActAllow,
301
+			Args:   []*types.Arg{},
302 302
 		},
303 303
 		{
304 304
 			Name:   "fdatasync",
305
-			Action: configs.Allow,
306
-			Args:   []*configs.Arg{},
305
+			Action: types.ActAllow,
306
+			Args:   []*types.Arg{},
307 307
 		},
308 308
 		{
309 309
 			Name:   "fgetxattr",
310
-			Action: configs.Allow,
311
-			Args:   []*configs.Arg{},
310
+			Action: types.ActAllow,
311
+			Args:   []*types.Arg{},
312 312
 		},
313 313
 		{
314 314
 			Name:   "flistxattr",
315
-			Action: configs.Allow,
316
-			Args:   []*configs.Arg{},
315
+			Action: types.ActAllow,
316
+			Args:   []*types.Arg{},
317 317
 		},
318 318
 		{
319 319
 			Name:   "flock",
320
-			Action: configs.Allow,
321
-			Args:   []*configs.Arg{},
320
+			Action: types.ActAllow,
321
+			Args:   []*types.Arg{},
322 322
 		},
323 323
 		{
324 324
 			Name:   "fork",
325
-			Action: configs.Allow,
326
-			Args:   []*configs.Arg{},
325
+			Action: types.ActAllow,
326
+			Args:   []*types.Arg{},
327 327
 		},
328 328
 		{
329 329
 			Name:   "fremovexattr",
330
-			Action: configs.Allow,
331
-			Args:   []*configs.Arg{},
330
+			Action: types.ActAllow,
331
+			Args:   []*types.Arg{},
332 332
 		},
333 333
 		{
334 334
 			Name:   "fsetxattr",
335
-			Action: configs.Allow,
336
-			Args:   []*configs.Arg{},
335
+			Action: types.ActAllow,
336
+			Args:   []*types.Arg{},
337 337
 		},
338 338
 		{
339 339
 			Name:   "fstat",
340
-			Action: configs.Allow,
341
-			Args:   []*configs.Arg{},
340
+			Action: types.ActAllow,
341
+			Args:   []*types.Arg{},
342 342
 		},
343 343
 		{
344 344
 			Name:   "fstat64",
345
-			Action: configs.Allow,
346
-			Args:   []*configs.Arg{},
345
+			Action: types.ActAllow,
346
+			Args:   []*types.Arg{},
347 347
 		},
348 348
 		{
349 349
 			Name:   "fstatat64",
350
-			Action: configs.Allow,
351
-			Args:   []*configs.Arg{},
350
+			Action: types.ActAllow,
351
+			Args:   []*types.Arg{},
352 352
 		},
353 353
 		{
354 354
 			Name:   "fstatfs",
355
-			Action: configs.Allow,
356
-			Args:   []*configs.Arg{},
355
+			Action: types.ActAllow,
356
+			Args:   []*types.Arg{},
357 357
 		},
358 358
 		{
359 359
 			Name:   "fstatfs64",
360
-			Action: configs.Allow,
361
-			Args:   []*configs.Arg{},
360
+			Action: types.ActAllow,
361
+			Args:   []*types.Arg{},
362 362
 		},
363 363
 		{
364 364
 			Name:   "fsync",
365
-			Action: configs.Allow,
366
-			Args:   []*configs.Arg{},
365
+			Action: types.ActAllow,
366
+			Args:   []*types.Arg{},
367 367
 		},
368 368
 		{
369 369
 			Name:   "ftruncate",
370
-			Action: configs.Allow,
371
-			Args:   []*configs.Arg{},
370
+			Action: types.ActAllow,
371
+			Args:   []*types.Arg{},
372 372
 		},
373 373
 		{
374 374
 			Name:   "ftruncate64",
375
-			Action: configs.Allow,
376
-			Args:   []*configs.Arg{},
375
+			Action: types.ActAllow,
376
+			Args:   []*types.Arg{},
377 377
 		},
378 378
 		{
379 379
 			Name:   "futex",
380
-			Action: configs.Allow,
381
-			Args:   []*configs.Arg{},
380
+			Action: types.ActAllow,
381
+			Args:   []*types.Arg{},
382 382
 		},
383 383
 		{
384 384
 			Name:   "futimesat",
385
-			Action: configs.Allow,
386
-			Args:   []*configs.Arg{},
385
+			Action: types.ActAllow,
386
+			Args:   []*types.Arg{},
387 387
 		},
388 388
 		{
389 389
 			Name:   "getcpu",
390
-			Action: configs.Allow,
391
-			Args:   []*configs.Arg{},
390
+			Action: types.ActAllow,
391
+			Args:   []*types.Arg{},
392 392
 		},
393 393
 		{
394 394
 			Name:   "getcwd",
395
-			Action: configs.Allow,
396
-			Args:   []*configs.Arg{},
395
+			Action: types.ActAllow,
396
+			Args:   []*types.Arg{},
397 397
 		},
398 398
 		{
399 399
 			Name:   "getdents",
400
-			Action: configs.Allow,
401
-			Args:   []*configs.Arg{},
400
+			Action: types.ActAllow,
401
+			Args:   []*types.Arg{},
402 402
 		},
403 403
 		{
404 404
 			Name:   "getdents64",
405
-			Action: configs.Allow,
406
-			Args:   []*configs.Arg{},
405
+			Action: types.ActAllow,
406
+			Args:   []*types.Arg{},
407 407
 		},
408 408
 		{
409 409
 			Name:   "getegid",
410
-			Action: configs.Allow,
411
-			Args:   []*configs.Arg{},
410
+			Action: types.ActAllow,
411
+			Args:   []*types.Arg{},
412 412
 		},
413 413
 		{
414 414
 			Name:   "getegid32",
415
-			Action: configs.Allow,
416
-			Args:   []*configs.Arg{},
415
+			Action: types.ActAllow,
416
+			Args:   []*types.Arg{},
417 417
 		},
418 418
 		{
419 419
 			Name:   "geteuid",
420
-			Action: configs.Allow,
421
-			Args:   []*configs.Arg{},
420
+			Action: types.ActAllow,
421
+			Args:   []*types.Arg{},
422 422
 		},
423 423
 		{
424 424
 			Name:   "geteuid32",
425
-			Action: configs.Allow,
426
-			Args:   []*configs.Arg{},
425
+			Action: types.ActAllow,
426
+			Args:   []*types.Arg{},
427 427
 		},
428 428
 		{
429 429
 			Name:   "getgid",
430
-			Action: configs.Allow,
431
-			Args:   []*configs.Arg{},
430
+			Action: types.ActAllow,
431
+			Args:   []*types.Arg{},
432 432
 		},
433 433
 		{
434 434
 			Name:   "getgid32",
435
-			Action: configs.Allow,
436
-			Args:   []*configs.Arg{},
435
+			Action: types.ActAllow,
436
+			Args:   []*types.Arg{},
437 437
 		},
438 438
 		{
439 439
 			Name:   "getgroups",
440
-			Action: configs.Allow,
441
-			Args:   []*configs.Arg{},
440
+			Action: types.ActAllow,
441
+			Args:   []*types.Arg{},
442 442
 		},
443 443
 		{
444 444
 			Name:   "getgroups32",
445
-			Action: configs.Allow,
446
-			Args:   []*configs.Arg{},
445
+			Action: types.ActAllow,
446
+			Args:   []*types.Arg{},
447 447
 		},
448 448
 		{
449 449
 			Name:   "getitimer",
450
-			Action: configs.Allow,
451
-			Args:   []*configs.Arg{},
450
+			Action: types.ActAllow,
451
+			Args:   []*types.Arg{},
452 452
 		},
453 453
 		{
454 454
 			Name:   "getpeername",
455
-			Action: configs.Allow,
456
-			Args:   []*configs.Arg{},
455
+			Action: types.ActAllow,
456
+			Args:   []*types.Arg{},
457 457
 		},
458 458
 		{
459 459
 			Name:   "getpgid",
460
-			Action: configs.Allow,
461
-			Args:   []*configs.Arg{},
460
+			Action: types.ActAllow,
461
+			Args:   []*types.Arg{},
462 462
 		},
463 463
 		{
464 464
 			Name:   "getpgrp",
465
-			Action: configs.Allow,
466
-			Args:   []*configs.Arg{},
465
+			Action: types.ActAllow,
466
+			Args:   []*types.Arg{},
467 467
 		},
468 468
 		{
469 469
 			Name:   "getpid",
470
-			Action: configs.Allow,
471
-			Args:   []*configs.Arg{},
470
+			Action: types.ActAllow,
471
+			Args:   []*types.Arg{},
472 472
 		},
473 473
 		{
474 474
 			Name:   "getppid",
475
-			Action: configs.Allow,
476
-			Args:   []*configs.Arg{},
475
+			Action: types.ActAllow,
476
+			Args:   []*types.Arg{},
477 477
 		},
478 478
 		{
479 479
 			Name:   "getpriority",
480
-			Action: configs.Allow,
481
-			Args:   []*configs.Arg{},
480
+			Action: types.ActAllow,
481
+			Args:   []*types.Arg{},
482 482
 		},
483 483
 		{
484 484
 			Name:   "getrandom",
485
-			Action: configs.Allow,
486
-			Args:   []*configs.Arg{},
485
+			Action: types.ActAllow,
486
+			Args:   []*types.Arg{},
487 487
 		},
488 488
 		{
489 489
 			Name:   "getresgid",
490
-			Action: configs.Allow,
491
-			Args:   []*configs.Arg{},
490
+			Action: types.ActAllow,
491
+			Args:   []*types.Arg{},
492 492
 		},
493 493
 		{
494 494
 			Name:   "getresgid32",
495
-			Action: configs.Allow,
496
-			Args:   []*configs.Arg{},
495
+			Action: types.ActAllow,
496
+			Args:   []*types.Arg{},
497 497
 		},
498 498
 		{
499 499
 			Name:   "getresuid",
500
-			Action: configs.Allow,
501
-			Args:   []*configs.Arg{},
500
+			Action: types.ActAllow,
501
+			Args:   []*types.Arg{},
502 502
 		},
503 503
 		{
504 504
 			Name:   "getresuid32",
505
-			Action: configs.Allow,
506
-			Args:   []*configs.Arg{},
505
+			Action: types.ActAllow,
506
+			Args:   []*types.Arg{},
507 507
 		},
508 508
 		{
509 509
 			Name:   "getrlimit",
510
-			Action: configs.Allow,
511
-			Args:   []*configs.Arg{},
510
+			Action: types.ActAllow,
511
+			Args:   []*types.Arg{},
512 512
 		},
513 513
 		{
514 514
 			Name:   "get_robust_list",
515
-			Action: configs.Allow,
516
-			Args:   []*configs.Arg{},
515
+			Action: types.ActAllow,
516
+			Args:   []*types.Arg{},
517 517
 		},
518 518
 		{
519 519
 			Name:   "getrusage",
520
-			Action: configs.Allow,
521
-			Args:   []*configs.Arg{},
520
+			Action: types.ActAllow,
521
+			Args:   []*types.Arg{},
522 522
 		},
523 523
 		{
524 524
 			Name:   "getsid",
525
-			Action: configs.Allow,
526
-			Args:   []*configs.Arg{},
525
+			Action: types.ActAllow,
526
+			Args:   []*types.Arg{},
527 527
 		},
528 528
 		{
529 529
 			Name:   "getsockname",
530
-			Action: configs.Allow,
531
-			Args:   []*configs.Arg{},
530
+			Action: types.ActAllow,
531
+			Args:   []*types.Arg{},
532 532
 		},
533 533
 		{
534 534
 			Name:   "getsockopt",
535
-			Action: configs.Allow,
536
-			Args:   []*configs.Arg{},
535
+			Action: types.ActAllow,
536
+			Args:   []*types.Arg{},
537 537
 		},
538 538
 		{
539 539
 			Name:   "get_thread_area",
540
-			Action: configs.Allow,
541
-			Args:   []*configs.Arg{},
540
+			Action: types.ActAllow,
541
+			Args:   []*types.Arg{},
542 542
 		},
543 543
 		{
544 544
 			Name:   "gettid",
545
-			Action: configs.Allow,
546
-			Args:   []*configs.Arg{},
545
+			Action: types.ActAllow,
546
+			Args:   []*types.Arg{},
547 547
 		},
548 548
 		{
549 549
 			Name:   "gettimeofday",
550
-			Action: configs.Allow,
551
-			Args:   []*configs.Arg{},
550
+			Action: types.ActAllow,
551
+			Args:   []*types.Arg{},
552 552
 		},
553 553
 		{
554 554
 			Name:   "getuid",
555
-			Action: configs.Allow,
556
-			Args:   []*configs.Arg{},
555
+			Action: types.ActAllow,
556
+			Args:   []*types.Arg{},
557 557
 		},
558 558
 		{
559 559
 			Name:   "getuid32",
560
-			Action: configs.Allow,
561
-			Args:   []*configs.Arg{},
560
+			Action: types.ActAllow,
561
+			Args:   []*types.Arg{},
562 562
 		},
563 563
 		{
564 564
 			Name:   "getxattr",
565
-			Action: configs.Allow,
566
-			Args:   []*configs.Arg{},
565
+			Action: types.ActAllow,
566
+			Args:   []*types.Arg{},
567 567
 		},
568 568
 		{
569 569
 			Name:   "inotify_add_watch",
570
-			Action: configs.Allow,
571
-			Args:   []*configs.Arg{},
570
+			Action: types.ActAllow,
571
+			Args:   []*types.Arg{},
572 572
 		},
573 573
 		{
574 574
 			Name:   "inotify_init",
575
-			Action: configs.Allow,
576
-			Args:   []*configs.Arg{},
575
+			Action: types.ActAllow,
576
+			Args:   []*types.Arg{},
577 577
 		},
578 578
 		{
579 579
 			Name:   "inotify_init1",
580
-			Action: configs.Allow,
581
-			Args:   []*configs.Arg{},
580
+			Action: types.ActAllow,
581
+			Args:   []*types.Arg{},
582 582
 		},
583 583
 		{
584 584
 			Name:   "inotify_rm_watch",
585
-			Action: configs.Allow,
586
-			Args:   []*configs.Arg{},
585
+			Action: types.ActAllow,
586
+			Args:   []*types.Arg{},
587 587
 		},
588 588
 		{
589 589
 			Name:   "io_cancel",
590
-			Action: configs.Allow,
591
-			Args:   []*configs.Arg{},
590
+			Action: types.ActAllow,
591
+			Args:   []*types.Arg{},
592 592
 		},
593 593
 		{
594 594
 			Name:   "ioctl",
595
-			Action: configs.Allow,
596
-			Args:   []*configs.Arg{},
595
+			Action: types.ActAllow,
596
+			Args:   []*types.Arg{},
597 597
 		},
598 598
 		{
599 599
 			Name:   "io_destroy",
600
-			Action: configs.Allow,
601
-			Args:   []*configs.Arg{},
600
+			Action: types.ActAllow,
601
+			Args:   []*types.Arg{},
602 602
 		},
603 603
 		{
604 604
 			Name:   "io_getevents",
605
-			Action: configs.Allow,
606
-			Args:   []*configs.Arg{},
605
+			Action: types.ActAllow,
606
+			Args:   []*types.Arg{},
607 607
 		},
608 608
 		{
609 609
 			Name:   "ioprio_get",
610
-			Action: configs.Allow,
611
-			Args:   []*configs.Arg{},
610
+			Action: types.ActAllow,
611
+			Args:   []*types.Arg{},
612 612
 		},
613 613
 		{
614 614
 			Name:   "ioprio_set",
615
-			Action: configs.Allow,
616
-			Args:   []*configs.Arg{},
615
+			Action: types.ActAllow,
616
+			Args:   []*types.Arg{},
617 617
 		},
618 618
 		{
619 619
 			Name:   "io_setup",
620
-			Action: configs.Allow,
621
-			Args:   []*configs.Arg{},
620
+			Action: types.ActAllow,
621
+			Args:   []*types.Arg{},
622 622
 		},
623 623
 		{
624 624
 			Name:   "io_submit",
625
-			Action: configs.Allow,
626
-			Args:   []*configs.Arg{},
625
+			Action: types.ActAllow,
626
+			Args:   []*types.Arg{},
627 627
 		},
628 628
 		{
629 629
 			Name:   "kill",
630
-			Action: configs.Allow,
631
-			Args:   []*configs.Arg{},
630
+			Action: types.ActAllow,
631
+			Args:   []*types.Arg{},
632 632
 		},
633 633
 		{
634 634
 			Name:   "lchown",
635
-			Action: configs.Allow,
636
-			Args:   []*configs.Arg{},
635
+			Action: types.ActAllow,
636
+			Args:   []*types.Arg{},
637 637
 		},
638 638
 		{
639 639
 			Name:   "lchown32",
640
-			Action: configs.Allow,
641
-			Args:   []*configs.Arg{},
640
+			Action: types.ActAllow,
641
+			Args:   []*types.Arg{},
642 642
 		},
643 643
 		{
644 644
 			Name:   "lgetxattr",
645
-			Action: configs.Allow,
646
-			Args:   []*configs.Arg{},
645
+			Action: types.ActAllow,
646
+			Args:   []*types.Arg{},
647 647
 		},
648 648
 		{
649 649
 			Name:   "link",
650
-			Action: configs.Allow,
651
-			Args:   []*configs.Arg{},
650
+			Action: types.ActAllow,
651
+			Args:   []*types.Arg{},
652 652
 		},
653 653
 		{
654 654
 			Name:   "linkat",
655
-			Action: configs.Allow,
656
-			Args:   []*configs.Arg{},
655
+			Action: types.ActAllow,
656
+			Args:   []*types.Arg{},
657 657
 		},
658 658
 		{
659 659
 			Name:   "listen",
660
-			Action: configs.Allow,
661
-			Args:   []*configs.Arg{},
660
+			Action: types.ActAllow,
661
+			Args:   []*types.Arg{},
662 662
 		},
663 663
 		{
664 664
 			Name:   "listxattr",
665
-			Action: configs.Allow,
666
-			Args:   []*configs.Arg{},
665
+			Action: types.ActAllow,
666
+			Args:   []*types.Arg{},
667 667
 		},
668 668
 		{
669 669
 			Name:   "llistxattr",
670
-			Action: configs.Allow,
671
-			Args:   []*configs.Arg{},
670
+			Action: types.ActAllow,
671
+			Args:   []*types.Arg{},
672 672
 		},
673 673
 		{
674 674
 			Name:   "_llseek",
675
-			Action: configs.Allow,
676
-			Args:   []*configs.Arg{},
675
+			Action: types.ActAllow,
676
+			Args:   []*types.Arg{},
677 677
 		},
678 678
 		{
679 679
 			Name:   "lremovexattr",
680
-			Action: configs.Allow,
681
-			Args:   []*configs.Arg{},
680
+			Action: types.ActAllow,
681
+			Args:   []*types.Arg{},
682 682
 		},
683 683
 		{
684 684
 			Name:   "lseek",
685
-			Action: configs.Allow,
686
-			Args:   []*configs.Arg{},
685
+			Action: types.ActAllow,
686
+			Args:   []*types.Arg{},
687 687
 		},
688 688
 		{
689 689
 			Name:   "lsetxattr",
690
-			Action: configs.Allow,
691
-			Args:   []*configs.Arg{},
690
+			Action: types.ActAllow,
691
+			Args:   []*types.Arg{},
692 692
 		},
693 693
 		{
694 694
 			Name:   "lstat",
695
-			Action: configs.Allow,
696
-			Args:   []*configs.Arg{},
695
+			Action: types.ActAllow,
696
+			Args:   []*types.Arg{},
697 697
 		},
698 698
 		{
699 699
 			Name:   "lstat64",
700
-			Action: configs.Allow,
701
-			Args:   []*configs.Arg{},
700
+			Action: types.ActAllow,
701
+			Args:   []*types.Arg{},
702 702
 		},
703 703
 		{
704 704
 			Name:   "madvise",
705
-			Action: configs.Allow,
706
-			Args:   []*configs.Arg{},
705
+			Action: types.ActAllow,
706
+			Args:   []*types.Arg{},
707 707
 		},
708 708
 		{
709 709
 			Name:   "memfd_create",
710
-			Action: configs.Allow,
711
-			Args:   []*configs.Arg{},
710
+			Action: types.ActAllow,
711
+			Args:   []*types.Arg{},
712 712
 		},
713 713
 		{
714 714
 			Name:   "mincore",
715
-			Action: configs.Allow,
716
-			Args:   []*configs.Arg{},
715
+			Action: types.ActAllow,
716
+			Args:   []*types.Arg{},
717 717
 		},
718 718
 		{
719 719
 			Name:   "mkdir",
720
-			Action: configs.Allow,
721
-			Args:   []*configs.Arg{},
720
+			Action: types.ActAllow,
721
+			Args:   []*types.Arg{},
722 722
 		},
723 723
 		{
724 724
 			Name:   "mkdirat",
725
-			Action: configs.Allow,
726
-			Args:   []*configs.Arg{},
725
+			Action: types.ActAllow,
726
+			Args:   []*types.Arg{},
727 727
 		},
728 728
 		{
729 729
 			Name:   "mknod",
730
-			Action: configs.Allow,
731
-			Args:   []*configs.Arg{},
730
+			Action: types.ActAllow,
731
+			Args:   []*types.Arg{},
732 732
 		},
733 733
 		{
734 734
 			Name:   "mknodat",
735
-			Action: configs.Allow,
736
-			Args:   []*configs.Arg{},
735
+			Action: types.ActAllow,
736
+			Args:   []*types.Arg{},
737 737
 		},
738 738
 		{
739 739
 			Name:   "mlock",
740
-			Action: configs.Allow,
741
-			Args:   []*configs.Arg{},
740
+			Action: types.ActAllow,
741
+			Args:   []*types.Arg{},
742 742
 		},
743 743
 		{
744 744
 			Name:   "mlockall",
745
-			Action: configs.Allow,
746
-			Args:   []*configs.Arg{},
745
+			Action: types.ActAllow,
746
+			Args:   []*types.Arg{},
747 747
 		},
748 748
 		{
749 749
 			Name:   "mmap",
750
-			Action: configs.Allow,
751
-			Args:   []*configs.Arg{},
750
+			Action: types.ActAllow,
751
+			Args:   []*types.Arg{},
752 752
 		},
753 753
 		{
754 754
 			Name:   "mmap2",
755
-			Action: configs.Allow,
756
-			Args:   []*configs.Arg{},
755
+			Action: types.ActAllow,
756
+			Args:   []*types.Arg{},
757 757
 		},
758 758
 		{
759 759
 			Name:   "mprotect",
760
-			Action: configs.Allow,
761
-			Args:   []*configs.Arg{},
760
+			Action: types.ActAllow,
761
+			Args:   []*types.Arg{},
762 762
 		},
763 763
 		{
764 764
 			Name:   "mq_getsetattr",
765
-			Action: configs.Allow,
766
-			Args:   []*configs.Arg{},
765
+			Action: types.ActAllow,
766
+			Args:   []*types.Arg{},
767 767
 		},
768 768
 		{
769 769
 			Name:   "mq_notify",
770
-			Action: configs.Allow,
771
-			Args:   []*configs.Arg{},
770
+			Action: types.ActAllow,
771
+			Args:   []*types.Arg{},
772 772
 		},
773 773
 		{
774 774
 			Name:   "mq_open",
775
-			Action: configs.Allow,
776
-			Args:   []*configs.Arg{},
775
+			Action: types.ActAllow,
776
+			Args:   []*types.Arg{},
777 777
 		},
778 778
 		{
779 779
 			Name:   "mq_timedreceive",
780
-			Action: configs.Allow,
781
-			Args:   []*configs.Arg{},
780
+			Action: types.ActAllow,
781
+			Args:   []*types.Arg{},
782 782
 		},
783 783
 		{
784 784
 			Name:   "mq_timedsend",
785
-			Action: configs.Allow,
786
-			Args:   []*configs.Arg{},
785
+			Action: types.ActAllow,
786
+			Args:   []*types.Arg{},
787 787
 		},
788 788
 		{
789 789
 			Name:   "mq_unlink",
790
-			Action: configs.Allow,
791
-			Args:   []*configs.Arg{},
790
+			Action: types.ActAllow,
791
+			Args:   []*types.Arg{},
792 792
 		},
793 793
 		{
794 794
 			Name:   "mremap",
795
-			Action: configs.Allow,
796
-			Args:   []*configs.Arg{},
795
+			Action: types.ActAllow,
796
+			Args:   []*types.Arg{},
797 797
 		},
798 798
 		{
799 799
 			Name:   "msgctl",
800
-			Action: configs.Allow,
801
-			Args:   []*configs.Arg{},
800
+			Action: types.ActAllow,
801
+			Args:   []*types.Arg{},
802 802
 		},
803 803
 		{
804 804
 			Name:   "msgget",
805
-			Action: configs.Allow,
806
-			Args:   []*configs.Arg{},
805
+			Action: types.ActAllow,
806
+			Args:   []*types.Arg{},
807 807
 		},
808 808
 		{
809 809
 			Name:   "msgrcv",
810
-			Action: configs.Allow,
811
-			Args:   []*configs.Arg{},
810
+			Action: types.ActAllow,
811
+			Args:   []*types.Arg{},
812 812
 		},
813 813
 		{
814 814
 			Name:   "msgsnd",
815
-			Action: configs.Allow,
816
-			Args:   []*configs.Arg{},
815
+			Action: types.ActAllow,
816
+			Args:   []*types.Arg{},
817 817
 		},
818 818
 		{
819 819
 			Name:   "msync",
820
-			Action: configs.Allow,
821
-			Args:   []*configs.Arg{},
820
+			Action: types.ActAllow,
821
+			Args:   []*types.Arg{},
822 822
 		},
823 823
 		{
824 824
 			Name:   "munlock",
825
-			Action: configs.Allow,
826
-			Args:   []*configs.Arg{},
825
+			Action: types.ActAllow,
826
+			Args:   []*types.Arg{},
827 827
 		},
828 828
 		{
829 829
 			Name:   "munlockall",
830
-			Action: configs.Allow,
831
-			Args:   []*configs.Arg{},
830
+			Action: types.ActAllow,
831
+			Args:   []*types.Arg{},
832 832
 		},
833 833
 		{
834 834
 			Name:   "munmap",
835
-			Action: configs.Allow,
836
-			Args:   []*configs.Arg{},
835
+			Action: types.ActAllow,
836
+			Args:   []*types.Arg{},
837 837
 		},
838 838
 		{
839 839
 			Name:   "nanosleep",
840
-			Action: configs.Allow,
841
-			Args:   []*configs.Arg{},
840
+			Action: types.ActAllow,
841
+			Args:   []*types.Arg{},
842 842
 		},
843 843
 		{
844 844
 			Name:   "newfstatat",
845
-			Action: configs.Allow,
846
-			Args:   []*configs.Arg{},
845
+			Action: types.ActAllow,
846
+			Args:   []*types.Arg{},
847 847
 		},
848 848
 		{
849 849
 			Name:   "_newselect",
850
-			Action: configs.Allow,
851
-			Args:   []*configs.Arg{},
850
+			Action: types.ActAllow,
851
+			Args:   []*types.Arg{},
852 852
 		},
853 853
 		{
854 854
 			Name:   "open",
855
-			Action: configs.Allow,
856
-			Args:   []*configs.Arg{},
855
+			Action: types.ActAllow,
856
+			Args:   []*types.Arg{},
857 857
 		},
858 858
 		{
859 859
 			Name:   "openat",
860
-			Action: configs.Allow,
861
-			Args:   []*configs.Arg{},
860
+			Action: types.ActAllow,
861
+			Args:   []*types.Arg{},
862 862
 		},
863 863
 		{
864 864
 			Name:   "pause",
865
-			Action: configs.Allow,
866
-			Args:   []*configs.Arg{},
865
+			Action: types.ActAllow,
866
+			Args:   []*types.Arg{},
867 867
 		},
868 868
 		{
869 869
 			Name:   "pipe",
870
-			Action: configs.Allow,
871
-			Args:   []*configs.Arg{},
870
+			Action: types.ActAllow,
871
+			Args:   []*types.Arg{},
872 872
 		},
873 873
 		{
874 874
 			Name:   "pipe2",
875
-			Action: configs.Allow,
876
-			Args:   []*configs.Arg{},
875
+			Action: types.ActAllow,
876
+			Args:   []*types.Arg{},
877 877
 		},
878 878
 		{
879 879
 			Name:   "poll",
880
-			Action: configs.Allow,
881
-			Args:   []*configs.Arg{},
880
+			Action: types.ActAllow,
881
+			Args:   []*types.Arg{},
882 882
 		},
883 883
 		{
884 884
 			Name:   "ppoll",
885
-			Action: configs.Allow,
886
-			Args:   []*configs.Arg{},
885
+			Action: types.ActAllow,
886
+			Args:   []*types.Arg{},
887 887
 		},
888 888
 		{
889 889
 			Name:   "prctl",
890
-			Action: configs.Allow,
891
-			Args:   []*configs.Arg{},
890
+			Action: types.ActAllow,
891
+			Args:   []*types.Arg{},
892 892
 		},
893 893
 		{
894 894
 			Name:   "pread64",
895
-			Action: configs.Allow,
896
-			Args:   []*configs.Arg{},
895
+			Action: types.ActAllow,
896
+			Args:   []*types.Arg{},
897 897
 		},
898 898
 		{
899 899
 			Name:   "preadv",
900
-			Action: configs.Allow,
901
-			Args:   []*configs.Arg{},
900
+			Action: types.ActAllow,
901
+			Args:   []*types.Arg{},
902 902
 		},
903 903
 		{
904 904
 			Name:   "prlimit64",
905
-			Action: configs.Allow,
906
-			Args:   []*configs.Arg{},
905
+			Action: types.ActAllow,
906
+			Args:   []*types.Arg{},
907 907
 		},
908 908
 		{
909 909
 			Name:   "pselect6",
910
-			Action: configs.Allow,
911
-			Args:   []*configs.Arg{},
910
+			Action: types.ActAllow,
911
+			Args:   []*types.Arg{},
912 912
 		},
913 913
 		{
914 914
 			Name:   "pwrite64",
915
-			Action: configs.Allow,
916
-			Args:   []*configs.Arg{},
915
+			Action: types.ActAllow,
916
+			Args:   []*types.Arg{},
917 917
 		},
918 918
 		{
919 919
 			Name:   "pwritev",
920
-			Action: configs.Allow,
921
-			Args:   []*configs.Arg{},
920
+			Action: types.ActAllow,
921
+			Args:   []*types.Arg{},
922 922
 		},
923 923
 		{
924 924
 			Name:   "read",
925
-			Action: configs.Allow,
926
-			Args:   []*configs.Arg{},
925
+			Action: types.ActAllow,
926
+			Args:   []*types.Arg{},
927 927
 		},
928 928
 		{
929 929
 			Name:   "readahead",
930
-			Action: configs.Allow,
931
-			Args:   []*configs.Arg{},
930
+			Action: types.ActAllow,
931
+			Args:   []*types.Arg{},
932 932
 		},
933 933
 		{
934 934
 			Name:   "readlink",
935
-			Action: configs.Allow,
936
-			Args:   []*configs.Arg{},
935
+			Action: types.ActAllow,
936
+			Args:   []*types.Arg{},
937 937
 		},
938 938
 		{
939 939
 			Name:   "readlinkat",
940
-			Action: configs.Allow,
941
-			Args:   []*configs.Arg{},
940
+			Action: types.ActAllow,
941
+			Args:   []*types.Arg{},
942 942
 		},
943 943
 		{
944 944
 			Name:   "readv",
945
-			Action: configs.Allow,
946
-			Args:   []*configs.Arg{},
945
+			Action: types.ActAllow,
946
+			Args:   []*types.Arg{},
947 947
 		},
948 948
 		{
949 949
 			Name:   "recv",
950
-			Action: configs.Allow,
951
-			Args:   []*configs.Arg{},
950
+			Action: types.ActAllow,
951
+			Args:   []*types.Arg{},
952 952
 		},
953 953
 		{
954 954
 			Name:   "recvfrom",
955
-			Action: configs.Allow,
956
-			Args:   []*configs.Arg{},
955
+			Action: types.ActAllow,
956
+			Args:   []*types.Arg{},
957 957
 		},
958 958
 		{
959 959
 			Name:   "recvmmsg",
960
-			Action: configs.Allow,
961
-			Args:   []*configs.Arg{},
960
+			Action: types.ActAllow,
961
+			Args:   []*types.Arg{},
962 962
 		},
963 963
 		{
964 964
 			Name:   "recvmsg",
965
-			Action: configs.Allow,
966
-			Args:   []*configs.Arg{},
965
+			Action: types.ActAllow,
966
+			Args:   []*types.Arg{},
967 967
 		},
968 968
 		{
969 969
 			Name:   "remap_file_pages",
970
-			Action: configs.Allow,
971
-			Args:   []*configs.Arg{},
970
+			Action: types.ActAllow,
971
+			Args:   []*types.Arg{},
972 972
 		},
973 973
 		{
974 974
 			Name:   "removexattr",
975
-			Action: configs.Allow,
976
-			Args:   []*configs.Arg{},
975
+			Action: types.ActAllow,
976
+			Args:   []*types.Arg{},
977 977
 		},
978 978
 		{
979 979
 			Name:   "rename",
980
-			Action: configs.Allow,
981
-			Args:   []*configs.Arg{},
980
+			Action: types.ActAllow,
981
+			Args:   []*types.Arg{},
982 982
 		},
983 983
 		{
984 984
 			Name:   "renameat",
985
-			Action: configs.Allow,
986
-			Args:   []*configs.Arg{},
985
+			Action: types.ActAllow,
986
+			Args:   []*types.Arg{},
987 987
 		},
988 988
 		{
989 989
 			Name:   "renameat2",
990
-			Action: configs.Allow,
991
-			Args:   []*configs.Arg{},
990
+			Action: types.ActAllow,
991
+			Args:   []*types.Arg{},
992 992
 		},
993 993
 		{
994 994
 			Name:   "rmdir",
995
-			Action: configs.Allow,
996
-			Args:   []*configs.Arg{},
995
+			Action: types.ActAllow,
996
+			Args:   []*types.Arg{},
997 997
 		},
998 998
 		{
999 999
 			Name:   "rt_sigaction",
1000
-			Action: configs.Allow,
1001
-			Args:   []*configs.Arg{},
1000
+			Action: types.ActAllow,
1001
+			Args:   []*types.Arg{},
1002 1002
 		},
1003 1003
 		{
1004 1004
 			Name:   "rt_sigpending",
1005
-			Action: configs.Allow,
1006
-			Args:   []*configs.Arg{},
1005
+			Action: types.ActAllow,
1006
+			Args:   []*types.Arg{},
1007 1007
 		},
1008 1008
 		{
1009 1009
 			Name:   "rt_sigprocmask",
1010
-			Action: configs.Allow,
1011
-			Args:   []*configs.Arg{},
1010
+			Action: types.ActAllow,
1011
+			Args:   []*types.Arg{},
1012 1012
 		},
1013 1013
 		{
1014 1014
 			Name:   "rt_sigqueueinfo",
1015
-			Action: configs.Allow,
1016
-			Args:   []*configs.Arg{},
1015
+			Action: types.ActAllow,
1016
+			Args:   []*types.Arg{},
1017 1017
 		},
1018 1018
 		{
1019 1019
 			Name:   "rt_sigreturn",
1020
-			Action: configs.Allow,
1021
-			Args:   []*configs.Arg{},
1020
+			Action: types.ActAllow,
1021
+			Args:   []*types.Arg{},
1022 1022
 		},
1023 1023
 		{
1024 1024
 			Name:   "rt_sigsuspend",
1025
-			Action: configs.Allow,
1026
-			Args:   []*configs.Arg{},
1025
+			Action: types.ActAllow,
1026
+			Args:   []*types.Arg{},
1027 1027
 		},
1028 1028
 		{
1029 1029
 			Name:   "rt_sigtimedwait",
1030
-			Action: configs.Allow,
1031
-			Args:   []*configs.Arg{},
1030
+			Action: types.ActAllow,
1031
+			Args:   []*types.Arg{},
1032 1032
 		},
1033 1033
 		{
1034 1034
 			Name:   "rt_tgsigqueueinfo",
1035
-			Action: configs.Allow,
1036
-			Args:   []*configs.Arg{},
1035
+			Action: types.ActAllow,
1036
+			Args:   []*types.Arg{},
1037 1037
 		},
1038 1038
 		{
1039 1039
 			Name:   "sched_getaffinity",
1040
-			Action: configs.Allow,
1041
-			Args:   []*configs.Arg{},
1040
+			Action: types.ActAllow,
1041
+			Args:   []*types.Arg{},
1042 1042
 		},
1043 1043
 		{
1044 1044
 			Name:   "sched_getattr",
1045
-			Action: configs.Allow,
1046
-			Args:   []*configs.Arg{},
1045
+			Action: types.ActAllow,
1046
+			Args:   []*types.Arg{},
1047 1047
 		},
1048 1048
 		{
1049 1049
 			Name:   "sched_getparam",
1050
-			Action: configs.Allow,
1051
-			Args:   []*configs.Arg{},
1050
+			Action: types.ActAllow,
1051
+			Args:   []*types.Arg{},
1052 1052
 		},
1053 1053
 		{
1054 1054
 			Name:   "sched_get_priority_max",
1055
-			Action: configs.Allow,
1056
-			Args:   []*configs.Arg{},
1055
+			Action: types.ActAllow,
1056
+			Args:   []*types.Arg{},
1057 1057
 		},
1058 1058
 		{
1059 1059
 			Name:   "sched_get_priority_min",
1060
-			Action: configs.Allow,
1061
-			Args:   []*configs.Arg{},
1060
+			Action: types.ActAllow,
1061
+			Args:   []*types.Arg{},
1062 1062
 		},
1063 1063
 		{
1064 1064
 			Name:   "sched_getscheduler",
1065
-			Action: configs.Allow,
1066
-			Args:   []*configs.Arg{},
1065
+			Action: types.ActAllow,
1066
+			Args:   []*types.Arg{},
1067 1067
 		},
1068 1068
 		{
1069 1069
 			Name:   "sched_rr_get_interval",
1070
-			Action: configs.Allow,
1071
-			Args:   []*configs.Arg{},
1070
+			Action: types.ActAllow,
1071
+			Args:   []*types.Arg{},
1072 1072
 		},
1073 1073
 		{
1074 1074
 			Name:   "sched_setaffinity",
1075
-			Action: configs.Allow,
1076
-			Args:   []*configs.Arg{},
1075
+			Action: types.ActAllow,
1076
+			Args:   []*types.Arg{},
1077 1077
 		},
1078 1078
 		{
1079 1079
 			Name:   "sched_setattr",
1080
-			Action: configs.Allow,
1081
-			Args:   []*configs.Arg{},
1080
+			Action: types.ActAllow,
1081
+			Args:   []*types.Arg{},
1082 1082
 		},
1083 1083
 		{
1084 1084
 			Name:   "sched_setparam",
1085
-			Action: configs.Allow,
1086
-			Args:   []*configs.Arg{},
1085
+			Action: types.ActAllow,
1086
+			Args:   []*types.Arg{},
1087 1087
 		},
1088 1088
 		{
1089 1089
 			Name:   "sched_setscheduler",
1090
-			Action: configs.Allow,
1091
-			Args:   []*configs.Arg{},
1090
+			Action: types.ActAllow,
1091
+			Args:   []*types.Arg{},
1092 1092
 		},
1093 1093
 		{
1094 1094
 			Name:   "sched_yield",
1095
-			Action: configs.Allow,
1096
-			Args:   []*configs.Arg{},
1095
+			Action: types.ActAllow,
1096
+			Args:   []*types.Arg{},
1097 1097
 		},
1098 1098
 		{
1099 1099
 			Name:   "seccomp",
1100
-			Action: configs.Allow,
1101
-			Args:   []*configs.Arg{},
1100
+			Action: types.ActAllow,
1101
+			Args:   []*types.Arg{},
1102 1102
 		},
1103 1103
 		{
1104 1104
 			Name:   "select",
1105
-			Action: configs.Allow,
1106
-			Args:   []*configs.Arg{},
1105
+			Action: types.ActAllow,
1106
+			Args:   []*types.Arg{},
1107 1107
 		},
1108 1108
 		{
1109 1109
 			Name:   "semctl",
1110
-			Action: configs.Allow,
1111
-			Args:   []*configs.Arg{},
1110
+			Action: types.ActAllow,
1111
+			Args:   []*types.Arg{},
1112 1112
 		},
1113 1113
 		{
1114 1114
 			Name:   "semget",
1115
-			Action: configs.Allow,
1116
-			Args:   []*configs.Arg{},
1115
+			Action: types.ActAllow,
1116
+			Args:   []*types.Arg{},
1117 1117
 		},
1118 1118
 		{
1119 1119
 			Name:   "semop",
1120
-			Action: configs.Allow,
1121
-			Args:   []*configs.Arg{},
1120
+			Action: types.ActAllow,
1121
+			Args:   []*types.Arg{},
1122 1122
 		},
1123 1123
 		{
1124 1124
 			Name:   "semtimedop",
1125
-			Action: configs.Allow,
1126
-			Args:   []*configs.Arg{},
1125
+			Action: types.ActAllow,
1126
+			Args:   []*types.Arg{},
1127 1127
 		},
1128 1128
 		{
1129 1129
 			Name:   "send",
1130
-			Action: configs.Allow,
1131
-			Args:   []*configs.Arg{},
1130
+			Action: types.ActAllow,
1131
+			Args:   []*types.Arg{},
1132 1132
 		},
1133 1133
 		{
1134 1134
 			Name:   "sendfile",
1135
-			Action: configs.Allow,
1136
-			Args:   []*configs.Arg{},
1135
+			Action: types.ActAllow,
1136
+			Args:   []*types.Arg{},
1137 1137
 		},
1138 1138
 		{
1139 1139
 			Name:   "sendfile64",
1140
-			Action: configs.Allow,
1141
-			Args:   []*configs.Arg{},
1140
+			Action: types.ActAllow,
1141
+			Args:   []*types.Arg{},
1142 1142
 		},
1143 1143
 		{
1144 1144
 			Name:   "sendmmsg",
1145
-			Action: configs.Allow,
1146
-			Args:   []*configs.Arg{},
1145
+			Action: types.ActAllow,
1146
+			Args:   []*types.Arg{},
1147 1147
 		},
1148 1148
 		{
1149 1149
 			Name:   "sendmsg",
1150
-			Action: configs.Allow,
1151
-			Args:   []*configs.Arg{},
1150
+			Action: types.ActAllow,
1151
+			Args:   []*types.Arg{},
1152 1152
 		},
1153 1153
 		{
1154 1154
 			Name:   "sendto",
1155
-			Action: configs.Allow,
1156
-			Args:   []*configs.Arg{},
1155
+			Action: types.ActAllow,
1156
+			Args:   []*types.Arg{},
1157 1157
 		},
1158 1158
 		{
1159 1159
 			Name:   "setdomainname",
1160
-			Action: configs.Allow,
1161
-			Args:   []*configs.Arg{},
1160
+			Action: types.ActAllow,
1161
+			Args:   []*types.Arg{},
1162 1162
 		},
1163 1163
 		{
1164 1164
 			Name:   "setfsgid",
1165
-			Action: configs.Allow,
1166
-			Args:   []*configs.Arg{},
1165
+			Action: types.ActAllow,
1166
+			Args:   []*types.Arg{},
1167 1167
 		},
1168 1168
 		{
1169 1169
 			Name:   "setfsgid32",
1170
-			Action: configs.Allow,
1171
-			Args:   []*configs.Arg{},
1170
+			Action: types.ActAllow,
1171
+			Args:   []*types.Arg{},
1172 1172
 		},
1173 1173
 		{
1174 1174
 			Name:   "setfsuid",
1175
-			Action: configs.Allow,
1176
-			Args:   []*configs.Arg{},
1175
+			Action: types.ActAllow,
1176
+			Args:   []*types.Arg{},
1177 1177
 		},
1178 1178
 		{
1179 1179
 			Name:   "setfsuid32",
1180
-			Action: configs.Allow,
1181
-			Args:   []*configs.Arg{},
1180
+			Action: types.ActAllow,
1181
+			Args:   []*types.Arg{},
1182 1182
 		},
1183 1183
 		{
1184 1184
 			Name:   "setgid",
1185
-			Action: configs.Allow,
1186
-			Args:   []*configs.Arg{},
1185
+			Action: types.ActAllow,
1186
+			Args:   []*types.Arg{},
1187 1187
 		},
1188 1188
 		{
1189 1189
 			Name:   "setgid32",
1190
-			Action: configs.Allow,
1191
-			Args:   []*configs.Arg{},
1190
+			Action: types.ActAllow,
1191
+			Args:   []*types.Arg{},
1192 1192
 		},
1193 1193
 		{
1194 1194
 			Name:   "setgroups",
1195
-			Action: configs.Allow,
1196
-			Args:   []*configs.Arg{},
1195
+			Action: types.ActAllow,
1196
+			Args:   []*types.Arg{},
1197 1197
 		},
1198 1198
 		{
1199 1199
 			Name:   "setgroups32",
1200
-			Action: configs.Allow,
1201
-			Args:   []*configs.Arg{},
1200
+			Action: types.ActAllow,
1201
+			Args:   []*types.Arg{},
1202 1202
 		},
1203 1203
 		{
1204 1204
 			Name:   "sethostname",
1205
-			Action: configs.Allow,
1206
-			Args:   []*configs.Arg{},
1205
+			Action: types.ActAllow,
1206
+			Args:   []*types.Arg{},
1207 1207
 		},
1208 1208
 		{
1209 1209
 			Name:   "setitimer",
1210
-			Action: configs.Allow,
1211
-			Args:   []*configs.Arg{},
1210
+			Action: types.ActAllow,
1211
+			Args:   []*types.Arg{},
1212 1212
 		},
1213 1213
 		{
1214 1214
 			Name:   "setpgid",
1215
-			Action: configs.Allow,
1216
-			Args:   []*configs.Arg{},
1215
+			Action: types.ActAllow,
1216
+			Args:   []*types.Arg{},
1217 1217
 		},
1218 1218
 		{
1219 1219
 			Name:   "setpriority",
1220
-			Action: configs.Allow,
1221
-			Args:   []*configs.Arg{},
1220
+			Action: types.ActAllow,
1221
+			Args:   []*types.Arg{},
1222 1222
 		},
1223 1223
 		{
1224 1224
 			Name:   "setregid",
1225
-			Action: configs.Allow,
1226
-			Args:   []*configs.Arg{},
1225
+			Action: types.ActAllow,
1226
+			Args:   []*types.Arg{},
1227 1227
 		},
1228 1228
 		{
1229 1229
 			Name:   "setregid32",
1230
-			Action: configs.Allow,
1231
-			Args:   []*configs.Arg{},
1230
+			Action: types.ActAllow,
1231
+			Args:   []*types.Arg{},
1232 1232
 		},
1233 1233
 		{
1234 1234
 			Name:   "setresgid",
1235
-			Action: configs.Allow,
1236
-			Args:   []*configs.Arg{},
1235
+			Action: types.ActAllow,
1236
+			Args:   []*types.Arg{},
1237 1237
 		},
1238 1238
 		{
1239 1239
 			Name:   "setresgid32",
1240
-			Action: configs.Allow,
1241
-			Args:   []*configs.Arg{},
1240
+			Action: types.ActAllow,
1241
+			Args:   []*types.Arg{},
1242 1242
 		},
1243 1243
 		{
1244 1244
 			Name:   "setresuid",
1245
-			Action: configs.Allow,
1246
-			Args:   []*configs.Arg{},
1245
+			Action: types.ActAllow,
1246
+			Args:   []*types.Arg{},
1247 1247
 		},
1248 1248
 		{
1249 1249
 			Name:   "setresuid32",
1250
-			Action: configs.Allow,
1251
-			Args:   []*configs.Arg{},
1250
+			Action: types.ActAllow,
1251
+			Args:   []*types.Arg{},
1252 1252
 		},
1253 1253
 		{
1254 1254
 			Name:   "setreuid",
1255
-			Action: configs.Allow,
1256
-			Args:   []*configs.Arg{},
1255
+			Action: types.ActAllow,
1256
+			Args:   []*types.Arg{},
1257 1257
 		},
1258 1258
 		{
1259 1259
 			Name:   "setreuid32",
1260
-			Action: configs.Allow,
1261
-			Args:   []*configs.Arg{},
1260
+			Action: types.ActAllow,
1261
+			Args:   []*types.Arg{},
1262 1262
 		},
1263 1263
 		{
1264 1264
 			Name:   "setrlimit",
1265
-			Action: configs.Allow,
1266
-			Args:   []*configs.Arg{},
1265
+			Action: types.ActAllow,
1266
+			Args:   []*types.Arg{},
1267 1267
 		},
1268 1268
 		{
1269 1269
 			Name:   "set_robust_list",
1270
-			Action: configs.Allow,
1271
-			Args:   []*configs.Arg{},
1270
+			Action: types.ActAllow,
1271
+			Args:   []*types.Arg{},
1272 1272
 		},
1273 1273
 		{
1274 1274
 			Name:   "setsid",
1275
-			Action: configs.Allow,
1276
-			Args:   []*configs.Arg{},
1275
+			Action: types.ActAllow,
1276
+			Args:   []*types.Arg{},
1277 1277
 		},
1278 1278
 		{
1279 1279
 			Name:   "setsockopt",
1280
-			Action: configs.Allow,
1281
-			Args:   []*configs.Arg{},
1280
+			Action: types.ActAllow,
1281
+			Args:   []*types.Arg{},
1282 1282
 		},
1283 1283
 		{
1284 1284
 			Name:   "set_thread_area",
1285
-			Action: configs.Allow,
1286
-			Args:   []*configs.Arg{},
1285
+			Action: types.ActAllow,
1286
+			Args:   []*types.Arg{},
1287 1287
 		},
1288 1288
 		{
1289 1289
 			Name:   "set_tid_address",
1290
-			Action: configs.Allow,
1291
-			Args:   []*configs.Arg{},
1290
+			Action: types.ActAllow,
1291
+			Args:   []*types.Arg{},
1292 1292
 		},
1293 1293
 		{
1294 1294
 			Name:   "setuid",
1295
-			Action: configs.Allow,
1296
-			Args:   []*configs.Arg{},
1295
+			Action: types.ActAllow,
1296
+			Args:   []*types.Arg{},
1297 1297
 		},
1298 1298
 		{
1299 1299
 			Name:   "setuid32",
1300
-			Action: configs.Allow,
1301
-			Args:   []*configs.Arg{},
1300
+			Action: types.ActAllow,
1301
+			Args:   []*types.Arg{},
1302 1302
 		},
1303 1303
 		{
1304 1304
 			Name:   "setxattr",
1305
-			Action: configs.Allow,
1306
-			Args:   []*configs.Arg{},
1305
+			Action: types.ActAllow,
1306
+			Args:   []*types.Arg{},
1307 1307
 		},
1308 1308
 		{
1309 1309
 			Name:   "shmat",
1310
-			Action: configs.Allow,
1311
-			Args:   []*configs.Arg{},
1310
+			Action: types.ActAllow,
1311
+			Args:   []*types.Arg{},
1312 1312
 		},
1313 1313
 		{
1314 1314
 			Name:   "shmctl",
1315
-			Action: configs.Allow,
1316
-			Args:   []*configs.Arg{},
1315
+			Action: types.ActAllow,
1316
+			Args:   []*types.Arg{},
1317 1317
 		},
1318 1318
 		{
1319 1319
 			Name:   "shmdt",
1320
-			Action: configs.Allow,
1321
-			Args:   []*configs.Arg{},
1320
+			Action: types.ActAllow,
1321
+			Args:   []*types.Arg{},
1322 1322
 		},
1323 1323
 		{
1324 1324
 			Name:   "shmget",
1325
-			Action: configs.Allow,
1326
-			Args:   []*configs.Arg{},
1325
+			Action: types.ActAllow,
1326
+			Args:   []*types.Arg{},
1327 1327
 		},
1328 1328
 		{
1329 1329
 			Name:   "shutdown",
1330
-			Action: configs.Allow,
1331
-			Args:   []*configs.Arg{},
1330
+			Action: types.ActAllow,
1331
+			Args:   []*types.Arg{},
1332 1332
 		},
1333 1333
 		{
1334 1334
 			Name:   "sigaltstack",
1335
-			Action: configs.Allow,
1336
-			Args:   []*configs.Arg{},
1335
+			Action: types.ActAllow,
1336
+			Args:   []*types.Arg{},
1337 1337
 		},
1338 1338
 		{
1339 1339
 			Name:   "signalfd",
1340
-			Action: configs.Allow,
1341
-			Args:   []*configs.Arg{},
1340
+			Action: types.ActAllow,
1341
+			Args:   []*types.Arg{},
1342 1342
 		},
1343 1343
 		{
1344 1344
 			Name:   "signalfd4",
1345
-			Action: configs.Allow,
1346
-			Args:   []*configs.Arg{},
1345
+			Action: types.ActAllow,
1346
+			Args:   []*types.Arg{},
1347 1347
 		},
1348 1348
 		{
1349 1349
 			Name:   "sigreturn",
1350
-			Action: configs.Allow,
1351
-			Args:   []*configs.Arg{},
1350
+			Action: types.ActAllow,
1351
+			Args:   []*types.Arg{},
1352 1352
 		},
1353 1353
 		{
1354 1354
 			Name:   "socket",
1355
-			Action: configs.Allow,
1356
-			Args:   []*configs.Arg{},
1355
+			Action: types.ActAllow,
1356
+			Args:   []*types.Arg{},
1357 1357
 		},
1358 1358
 		{
1359 1359
 			Name:   "socketpair",
1360
-			Action: configs.Allow,
1361
-			Args:   []*configs.Arg{},
1360
+			Action: types.ActAllow,
1361
+			Args:   []*types.Arg{},
1362 1362
 		},
1363 1363
 		{
1364 1364
 			Name:   "splice",
1365
-			Action: configs.Allow,
1366
-			Args:   []*configs.Arg{},
1365
+			Action: types.ActAllow,
1366
+			Args:   []*types.Arg{},
1367 1367
 		},
1368 1368
 		{
1369 1369
 			Name:   "stat",
1370
-			Action: configs.Allow,
1371
-			Args:   []*configs.Arg{},
1370
+			Action: types.ActAllow,
1371
+			Args:   []*types.Arg{},
1372 1372
 		},
1373 1373
 		{
1374 1374
 			Name:   "stat64",
1375
-			Action: configs.Allow,
1376
-			Args:   []*configs.Arg{},
1375
+			Action: types.ActAllow,
1376
+			Args:   []*types.Arg{},
1377 1377
 		},
1378 1378
 		{
1379 1379
 			Name:   "statfs",
1380
-			Action: configs.Allow,
1381
-			Args:   []*configs.Arg{},
1380
+			Action: types.ActAllow,
1381
+			Args:   []*types.Arg{},
1382 1382
 		},
1383 1383
 		{
1384 1384
 			Name:   "statfs64",
1385
-			Action: configs.Allow,
1386
-			Args:   []*configs.Arg{},
1385
+			Action: types.ActAllow,
1386
+			Args:   []*types.Arg{},
1387 1387
 		},
1388 1388
 		{
1389 1389
 			Name:   "symlink",
1390
-			Action: configs.Allow,
1391
-			Args:   []*configs.Arg{},
1390
+			Action: types.ActAllow,
1391
+			Args:   []*types.Arg{},
1392 1392
 		},
1393 1393
 		{
1394 1394
 			Name:   "symlinkat",
1395
-			Action: configs.Allow,
1396
-			Args:   []*configs.Arg{},
1395
+			Action: types.ActAllow,
1396
+			Args:   []*types.Arg{},
1397 1397
 		},
1398 1398
 		{
1399 1399
 			Name:   "sync",
1400
-			Action: configs.Allow,
1401
-			Args:   []*configs.Arg{},
1400
+			Action: types.ActAllow,
1401
+			Args:   []*types.Arg{},
1402 1402
 		},
1403 1403
 		{
1404 1404
 			Name:   "sync_file_range",
1405
-			Action: configs.Allow,
1406
-			Args:   []*configs.Arg{},
1405
+			Action: types.ActAllow,
1406
+			Args:   []*types.Arg{},
1407 1407
 		},
1408 1408
 		{
1409 1409
 			Name:   "syncfs",
1410
-			Action: configs.Allow,
1411
-			Args:   []*configs.Arg{},
1410
+			Action: types.ActAllow,
1411
+			Args:   []*types.Arg{},
1412 1412
 		},
1413 1413
 		{
1414 1414
 			Name:   "sysinfo",
1415
-			Action: configs.Allow,
1416
-			Args:   []*configs.Arg{},
1415
+			Action: types.ActAllow,
1416
+			Args:   []*types.Arg{},
1417 1417
 		},
1418 1418
 		{
1419 1419
 			Name:   "syslog",
1420
-			Action: configs.Allow,
1421
-			Args:   []*configs.Arg{},
1420
+			Action: types.ActAllow,
1421
+			Args:   []*types.Arg{},
1422 1422
 		},
1423 1423
 		{
1424 1424
 			Name:   "tee",
1425
-			Action: configs.Allow,
1426
-			Args:   []*configs.Arg{},
1425
+			Action: types.ActAllow,
1426
+			Args:   []*types.Arg{},
1427 1427
 		},
1428 1428
 		{
1429 1429
 			Name:   "tgkill",
1430
-			Action: configs.Allow,
1431
-			Args:   []*configs.Arg{},
1430
+			Action: types.ActAllow,
1431
+			Args:   []*types.Arg{},
1432 1432
 		},
1433 1433
 		{
1434 1434
 			Name:   "time",
1435
-			Action: configs.Allow,
1436
-			Args:   []*configs.Arg{},
1435
+			Action: types.ActAllow,
1436
+			Args:   []*types.Arg{},
1437 1437
 		},
1438 1438
 		{
1439 1439
 			Name:   "timer_create",
1440
-			Action: configs.Allow,
1441
-			Args:   []*configs.Arg{},
1440
+			Action: types.ActAllow,
1441
+			Args:   []*types.Arg{},
1442 1442
 		},
1443 1443
 		{
1444 1444
 			Name:   "timer_delete",
1445
-			Action: configs.Allow,
1446
-			Args:   []*configs.Arg{},
1445
+			Action: types.ActAllow,
1446
+			Args:   []*types.Arg{},
1447 1447
 		},
1448 1448
 		{
1449 1449
 			Name:   "timerfd_create",
1450
-			Action: configs.Allow,
1451
-			Args:   []*configs.Arg{},
1450
+			Action: types.ActAllow,
1451
+			Args:   []*types.Arg{},
1452 1452
 		},
1453 1453
 		{
1454 1454
 			Name:   "timerfd_gettime",
1455
-			Action: configs.Allow,
1456
-			Args:   []*configs.Arg{},
1455
+			Action: types.ActAllow,
1456
+			Args:   []*types.Arg{},
1457 1457
 		},
1458 1458
 		{
1459 1459
 			Name:   "timerfd_settime",
1460
-			Action: configs.Allow,
1461
-			Args:   []*configs.Arg{},
1460
+			Action: types.ActAllow,
1461
+			Args:   []*types.Arg{},
1462 1462
 		},
1463 1463
 		{
1464 1464
 			Name:   "timer_getoverrun",
1465
-			Action: configs.Allow,
1466
-			Args:   []*configs.Arg{},
1465
+			Action: types.ActAllow,
1466
+			Args:   []*types.Arg{},
1467 1467
 		},
1468 1468
 		{
1469 1469
 			Name:   "timer_gettime",
1470
-			Action: configs.Allow,
1471
-			Args:   []*configs.Arg{},
1470
+			Action: types.ActAllow,
1471
+			Args:   []*types.Arg{},
1472 1472
 		},
1473 1473
 		{
1474 1474
 			Name:   "timer_settime",
1475
-			Action: configs.Allow,
1476
-			Args:   []*configs.Arg{},
1475
+			Action: types.ActAllow,
1476
+			Args:   []*types.Arg{},
1477 1477
 		},
1478 1478
 		{
1479 1479
 			Name:   "times",
1480
-			Action: configs.Allow,
1481
-			Args:   []*configs.Arg{},
1480
+			Action: types.ActAllow,
1481
+			Args:   []*types.Arg{},
1482 1482
 		},
1483 1483
 		{
1484 1484
 			Name:   "tkill",
1485
-			Action: configs.Allow,
1486
-			Args:   []*configs.Arg{},
1485
+			Action: types.ActAllow,
1486
+			Args:   []*types.Arg{},
1487 1487
 		},
1488 1488
 		{
1489 1489
 			Name:   "truncate",
1490
-			Action: configs.Allow,
1491
-			Args:   []*configs.Arg{},
1490
+			Action: types.ActAllow,
1491
+			Args:   []*types.Arg{},
1492 1492
 		},
1493 1493
 		{
1494 1494
 			Name:   "truncate64",
1495
-			Action: configs.Allow,
1496
-			Args:   []*configs.Arg{},
1495
+			Action: types.ActAllow,
1496
+			Args:   []*types.Arg{},
1497 1497
 		},
1498 1498
 		{
1499 1499
 			Name:   "ugetrlimit",
1500
-			Action: configs.Allow,
1501
-			Args:   []*configs.Arg{},
1500
+			Action: types.ActAllow,
1501
+			Args:   []*types.Arg{},
1502 1502
 		},
1503 1503
 		{
1504 1504
 			Name:   "umask",
1505
-			Action: configs.Allow,
1506
-			Args:   []*configs.Arg{},
1505
+			Action: types.ActAllow,
1506
+			Args:   []*types.Arg{},
1507 1507
 		},
1508 1508
 		{
1509 1509
 			Name:   "uname",
1510
-			Action: configs.Allow,
1511
-			Args:   []*configs.Arg{},
1510
+			Action: types.ActAllow,
1511
+			Args:   []*types.Arg{},
1512 1512
 		},
1513 1513
 		{
1514 1514
 			Name:   "unlink",
1515
-			Action: configs.Allow,
1516
-			Args:   []*configs.Arg{},
1515
+			Action: types.ActAllow,
1516
+			Args:   []*types.Arg{},
1517 1517
 		},
1518 1518
 		{
1519 1519
 			Name:   "unlinkat",
1520
-			Action: configs.Allow,
1521
-			Args:   []*configs.Arg{},
1520
+			Action: types.ActAllow,
1521
+			Args:   []*types.Arg{},
1522 1522
 		},
1523 1523
 		{
1524 1524
 			Name:   "utime",
1525
-			Action: configs.Allow,
1526
-			Args:   []*configs.Arg{},
1525
+			Action: types.ActAllow,
1526
+			Args:   []*types.Arg{},
1527 1527
 		},
1528 1528
 		{
1529 1529
 			Name:   "utimensat",
1530
-			Action: configs.Allow,
1531
-			Args:   []*configs.Arg{},
1530
+			Action: types.ActAllow,
1531
+			Args:   []*types.Arg{},
1532 1532
 		},
1533 1533
 		{
1534 1534
 			Name:   "utimes",
1535
-			Action: configs.Allow,
1536
-			Args:   []*configs.Arg{},
1535
+			Action: types.ActAllow,
1536
+			Args:   []*types.Arg{},
1537 1537
 		},
1538 1538
 		{
1539 1539
 			Name:   "vfork",
1540
-			Action: configs.Allow,
1541
-			Args:   []*configs.Arg{},
1540
+			Action: types.ActAllow,
1541
+			Args:   []*types.Arg{},
1542 1542
 		},
1543 1543
 		{
1544 1544
 			Name:   "vhangup",
1545
-			Action: configs.Allow,
1546
-			Args:   []*configs.Arg{},
1545
+			Action: types.ActAllow,
1546
+			Args:   []*types.Arg{},
1547 1547
 		},
1548 1548
 		{
1549 1549
 			Name:   "vmsplice",
1550
-			Action: configs.Allow,
1551
-			Args:   []*configs.Arg{},
1550
+			Action: types.ActAllow,
1551
+			Args:   []*types.Arg{},
1552 1552
 		},
1553 1553
 		{
1554 1554
 			Name:   "wait4",
1555
-			Action: configs.Allow,
1556
-			Args:   []*configs.Arg{},
1555
+			Action: types.ActAllow,
1556
+			Args:   []*types.Arg{},
1557 1557
 		},
1558 1558
 		{
1559 1559
 			Name:   "waitid",
1560
-			Action: configs.Allow,
1561
-			Args:   []*configs.Arg{},
1560
+			Action: types.ActAllow,
1561
+			Args:   []*types.Arg{},
1562 1562
 		},
1563 1563
 		{
1564 1564
 			Name:   "waitpid",
1565
-			Action: configs.Allow,
1566
-			Args:   []*configs.Arg{},
1565
+			Action: types.ActAllow,
1566
+			Args:   []*types.Arg{},
1567 1567
 		},
1568 1568
 		{
1569 1569
 			Name:   "write",
1570
-			Action: configs.Allow,
1571
-			Args:   []*configs.Arg{},
1570
+			Action: types.ActAllow,
1571
+			Args:   []*types.Arg{},
1572 1572
 		},
1573 1573
 		{
1574 1574
 			Name:   "writev",
1575
-			Action: configs.Allow,
1576
-			Args:   []*configs.Arg{},
1575
+			Action: types.ActAllow,
1576
+			Args:   []*types.Arg{},
1577 1577
 		},
1578 1578
 		// i386 specific syscalls
1579 1579
 		{
1580 1580
 			Name:   "modify_ldt",
1581
-			Action: configs.Allow,
1582
-			Args:   []*configs.Arg{},
1581
+			Action: types.ActAllow,
1582
+			Args:   []*types.Arg{},
1583 1583
 		},
1584 1584
 		// arm specific syscalls
1585 1585
 		{
1586 1586
 			Name:   "breakpoint",
1587
-			Action: configs.Allow,
1588
-			Args:   []*configs.Arg{},
1587
+			Action: types.ActAllow,
1588
+			Args:   []*types.Arg{},
1589 1589
 		},
1590 1590
 		{
1591 1591
 			Name:   "cacheflush",
1592
-			Action: configs.Allow,
1593
-			Args:   []*configs.Arg{},
1592
+			Action: types.ActAllow,
1593
+			Args:   []*types.Arg{},
1594 1594
 		},
1595 1595
 		{
1596 1596
 			Name:   "set_tls",
1597
-			Action: configs.Allow,
1598
-			Args:   []*configs.Arg{},
1597
+			Action: types.ActAllow,
1598
+			Args:   []*types.Arg{},
1599 1599
 		},
1600 1600
 	},
1601 1601
 }
... ...
@@ -2,9 +2,9 @@
2 2
 
3 3
 package seccomp
4 4
 
5
-import "github.com/opencontainers/runc/libcontainer/configs"
5
+import "github.com/docker/engine-api/types"
6 6
 
7 7
 var (
8
-	// defaultProfile is a nil pointer on unsupported systems.
9
-	defaultProfile *configs.Seccomp
8
+	// DefaultProfile is a nil pointer on unsupported systems.
9
+	DefaultProfile *types.Seccomp
10 10
 )