@anvia/browser 1.0.0-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,701 @@
1
+ {
2
+ "defaultAction": "SCMP_ACT_ERRNO",
3
+ "archMap": [
4
+ {
5
+ "architecture": "SCMP_ARCH_X86_64",
6
+ "subArchitectures": ["SCMP_ARCH_X86", "SCMP_ARCH_X32"]
7
+ },
8
+ {
9
+ "architecture": "SCMP_ARCH_AARCH64",
10
+ "subArchitectures": ["SCMP_ARCH_ARM"]
11
+ },
12
+ {
13
+ "architecture": "SCMP_ARCH_MIPS64",
14
+ "subArchitectures": ["SCMP_ARCH_MIPS", "SCMP_ARCH_MIPS64N32"]
15
+ },
16
+ {
17
+ "architecture": "SCMP_ARCH_MIPS64N32",
18
+ "subArchitectures": ["SCMP_ARCH_MIPS", "SCMP_ARCH_MIPS64"]
19
+ },
20
+ {
21
+ "architecture": "SCMP_ARCH_MIPSEL64",
22
+ "subArchitectures": ["SCMP_ARCH_MIPSEL", "SCMP_ARCH_MIPSEL64N32"]
23
+ },
24
+ {
25
+ "architecture": "SCMP_ARCH_MIPSEL64N32",
26
+ "subArchitectures": ["SCMP_ARCH_MIPSEL", "SCMP_ARCH_MIPSEL64"]
27
+ },
28
+ {
29
+ "architecture": "SCMP_ARCH_S390X",
30
+ "subArchitectures": ["SCMP_ARCH_S390"]
31
+ }
32
+ ],
33
+ "syscalls": [
34
+ {
35
+ "comment": "Allow create user namespaces",
36
+ "names": ["clone", "setns", "unshare"],
37
+ "action": "SCMP_ACT_ALLOW",
38
+ "args": [],
39
+ "includes": {},
40
+ "excludes": {}
41
+ },
42
+ {
43
+ "names": [
44
+ "accept",
45
+ "accept4",
46
+ "access",
47
+ "adjtimex",
48
+ "alarm",
49
+ "bind",
50
+ "brk",
51
+ "capget",
52
+ "capset",
53
+ "chdir",
54
+ "chmod",
55
+ "chown",
56
+ "chown32",
57
+ "clock_adjtime",
58
+ "clock_adjtime64",
59
+ "clock_getres",
60
+ "clock_getres_time64",
61
+ "clock_gettime",
62
+ "clock_gettime64",
63
+ "clock_nanosleep",
64
+ "clock_nanosleep_time64",
65
+ "close",
66
+ "connect",
67
+ "copy_file_range",
68
+ "creat",
69
+ "dup",
70
+ "dup2",
71
+ "dup3",
72
+ "epoll_create",
73
+ "epoll_create1",
74
+ "epoll_ctl",
75
+ "epoll_ctl_old",
76
+ "epoll_pwait",
77
+ "epoll_wait",
78
+ "epoll_wait_old",
79
+ "eventfd",
80
+ "eventfd2",
81
+ "execve",
82
+ "execveat",
83
+ "exit",
84
+ "exit_group",
85
+ "faccessat",
86
+ "fadvise64",
87
+ "fadvise64_64",
88
+ "fallocate",
89
+ "fanotify_mark",
90
+ "fchdir",
91
+ "fchmod",
92
+ "fchmodat",
93
+ "fchown",
94
+ "fchown32",
95
+ "fchownat",
96
+ "fcntl",
97
+ "fcntl64",
98
+ "fdatasync",
99
+ "fgetxattr",
100
+ "flistxattr",
101
+ "flock",
102
+ "fork",
103
+ "fremovexattr",
104
+ "fsetxattr",
105
+ "fstat",
106
+ "fstat64",
107
+ "fstatat64",
108
+ "fstatfs",
109
+ "fstatfs64",
110
+ "fsync",
111
+ "ftruncate",
112
+ "ftruncate64",
113
+ "futex",
114
+ "futex_time64",
115
+ "futimesat",
116
+ "getcpu",
117
+ "getcwd",
118
+ "getdents",
119
+ "getdents64",
120
+ "getegid",
121
+ "getegid32",
122
+ "geteuid",
123
+ "geteuid32",
124
+ "getgid",
125
+ "getgid32",
126
+ "getgroups",
127
+ "getgroups32",
128
+ "getitimer",
129
+ "getpeername",
130
+ "getpgid",
131
+ "getpgrp",
132
+ "getpid",
133
+ "getppid",
134
+ "getpriority",
135
+ "getrandom",
136
+ "getresgid",
137
+ "getresgid32",
138
+ "getresuid",
139
+ "getresuid32",
140
+ "getrlimit",
141
+ "get_robust_list",
142
+ "getrusage",
143
+ "getsid",
144
+ "getsockname",
145
+ "getsockopt",
146
+ "get_thread_area",
147
+ "gettid",
148
+ "gettimeofday",
149
+ "getuid",
150
+ "getuid32",
151
+ "getxattr",
152
+ "inotify_add_watch",
153
+ "inotify_init",
154
+ "inotify_init1",
155
+ "inotify_rm_watch",
156
+ "io_cancel",
157
+ "ioctl",
158
+ "io_destroy",
159
+ "io_getevents",
160
+ "io_pgetevents",
161
+ "io_pgetevents_time64",
162
+ "ioprio_get",
163
+ "ioprio_set",
164
+ "io_setup",
165
+ "io_submit",
166
+ "io_uring_enter",
167
+ "io_uring_register",
168
+ "io_uring_setup",
169
+ "ipc",
170
+ "kill",
171
+ "lchown",
172
+ "lchown32",
173
+ "lgetxattr",
174
+ "link",
175
+ "linkat",
176
+ "listen",
177
+ "listxattr",
178
+ "llistxattr",
179
+ "_llseek",
180
+ "lremovexattr",
181
+ "lseek",
182
+ "lsetxattr",
183
+ "lstat",
184
+ "lstat64",
185
+ "madvise",
186
+ "membarrier",
187
+ "memfd_create",
188
+ "mincore",
189
+ "mkdir",
190
+ "mkdirat",
191
+ "mknod",
192
+ "mknodat",
193
+ "mlock",
194
+ "mlock2",
195
+ "mlockall",
196
+ "mmap",
197
+ "mmap2",
198
+ "mprotect",
199
+ "mq_getsetattr",
200
+ "mq_notify",
201
+ "mq_open",
202
+ "mq_timedreceive",
203
+ "mq_timedreceive_time64",
204
+ "mq_timedsend",
205
+ "mq_timedsend_time64",
206
+ "mq_unlink",
207
+ "mremap",
208
+ "msgctl",
209
+ "msgget",
210
+ "msgrcv",
211
+ "msgsnd",
212
+ "msync",
213
+ "munlock",
214
+ "munlockall",
215
+ "munmap",
216
+ "nanosleep",
217
+ "newfstatat",
218
+ "_newselect",
219
+ "open",
220
+ "openat",
221
+ "pause",
222
+ "pipe",
223
+ "pipe2",
224
+ "poll",
225
+ "ppoll",
226
+ "ppoll_time64",
227
+ "prctl",
228
+ "pread64",
229
+ "preadv",
230
+ "preadv2",
231
+ "prlimit64",
232
+ "pselect6",
233
+ "pselect6_time64",
234
+ "pwrite64",
235
+ "pwritev",
236
+ "pwritev2",
237
+ "read",
238
+ "readahead",
239
+ "readlink",
240
+ "readlinkat",
241
+ "readv",
242
+ "recv",
243
+ "recvfrom",
244
+ "recvmmsg",
245
+ "recvmmsg_time64",
246
+ "recvmsg",
247
+ "remap_file_pages",
248
+ "removexattr",
249
+ "rename",
250
+ "renameat",
251
+ "renameat2",
252
+ "restart_syscall",
253
+ "rmdir",
254
+ "rseq",
255
+ "rt_sigaction",
256
+ "rt_sigpending",
257
+ "rt_sigprocmask",
258
+ "rt_sigqueueinfo",
259
+ "rt_sigreturn",
260
+ "rt_sigsuspend",
261
+ "rt_sigtimedwait",
262
+ "rt_sigtimedwait_time64",
263
+ "rt_tgsigqueueinfo",
264
+ "sched_getaffinity",
265
+ "sched_getattr",
266
+ "sched_getparam",
267
+ "sched_get_priority_max",
268
+ "sched_get_priority_min",
269
+ "sched_getscheduler",
270
+ "sched_rr_get_interval",
271
+ "sched_rr_get_interval_time64",
272
+ "sched_setaffinity",
273
+ "sched_setattr",
274
+ "sched_setparam",
275
+ "sched_setscheduler",
276
+ "sched_yield",
277
+ "seccomp",
278
+ "select",
279
+ "semctl",
280
+ "semget",
281
+ "semop",
282
+ "semtimedop",
283
+ "semtimedop_time64",
284
+ "send",
285
+ "sendfile",
286
+ "sendfile64",
287
+ "sendmmsg",
288
+ "sendmsg",
289
+ "sendto",
290
+ "setfsgid",
291
+ "setfsgid32",
292
+ "setfsuid",
293
+ "setfsuid32",
294
+ "setgid",
295
+ "setgid32",
296
+ "setgroups",
297
+ "setgroups32",
298
+ "setitimer",
299
+ "setpgid",
300
+ "setpriority",
301
+ "setregid",
302
+ "setregid32",
303
+ "setresgid",
304
+ "setresgid32",
305
+ "setresuid",
306
+ "setresuid32",
307
+ "setreuid",
308
+ "setreuid32",
309
+ "setrlimit",
310
+ "set_robust_list",
311
+ "setsid",
312
+ "setsockopt",
313
+ "set_thread_area",
314
+ "set_tid_address",
315
+ "setuid",
316
+ "setuid32",
317
+ "setxattr",
318
+ "shmat",
319
+ "shmctl",
320
+ "shmdt",
321
+ "shmget",
322
+ "shutdown",
323
+ "sigaltstack",
324
+ "signalfd",
325
+ "signalfd4",
326
+ "sigprocmask",
327
+ "sigreturn",
328
+ "socket",
329
+ "socketcall",
330
+ "socketpair",
331
+ "splice",
332
+ "stat",
333
+ "stat64",
334
+ "statfs",
335
+ "statfs64",
336
+ "statx",
337
+ "symlink",
338
+ "symlinkat",
339
+ "sync",
340
+ "sync_file_range",
341
+ "syncfs",
342
+ "sysinfo",
343
+ "tee",
344
+ "tgkill",
345
+ "time",
346
+ "timer_create",
347
+ "timer_delete",
348
+ "timer_getoverrun",
349
+ "timer_gettime",
350
+ "timer_gettime64",
351
+ "timer_settime",
352
+ "timer_settime64",
353
+ "timerfd_create",
354
+ "timerfd_gettime",
355
+ "timerfd_gettime64",
356
+ "timerfd_settime",
357
+ "timerfd_settime64",
358
+ "times",
359
+ "tkill",
360
+ "truncate",
361
+ "truncate64",
362
+ "ugetrlimit",
363
+ "umask",
364
+ "uname",
365
+ "unlink",
366
+ "unlinkat",
367
+ "utime",
368
+ "utimensat",
369
+ "utimensat_time64",
370
+ "utimes",
371
+ "vfork",
372
+ "vmsplice",
373
+ "wait4",
374
+ "waitid",
375
+ "waitpid",
376
+ "write",
377
+ "writev"
378
+ ],
379
+ "action": "SCMP_ACT_ALLOW",
380
+ "args": [],
381
+ "comment": "",
382
+ "includes": {},
383
+ "excludes": {}
384
+ },
385
+ {
386
+ "names": ["ptrace"],
387
+ "action": "SCMP_ACT_ALLOW",
388
+ "args": null,
389
+ "comment": "",
390
+ "includes": {
391
+ "minKernel": "4.8"
392
+ },
393
+ "excludes": {}
394
+ },
395
+ {
396
+ "names": ["personality"],
397
+ "action": "SCMP_ACT_ALLOW",
398
+ "args": [
399
+ {
400
+ "index": 0,
401
+ "value": 0,
402
+ "valueTwo": 0,
403
+ "op": "SCMP_CMP_EQ"
404
+ }
405
+ ],
406
+ "comment": "",
407
+ "includes": {},
408
+ "excludes": {}
409
+ },
410
+ {
411
+ "names": ["personality"],
412
+ "action": "SCMP_ACT_ALLOW",
413
+ "args": [
414
+ {
415
+ "index": 0,
416
+ "value": 8,
417
+ "valueTwo": 0,
418
+ "op": "SCMP_CMP_EQ"
419
+ }
420
+ ],
421
+ "comment": "",
422
+ "includes": {},
423
+ "excludes": {}
424
+ },
425
+ {
426
+ "names": ["personality"],
427
+ "action": "SCMP_ACT_ALLOW",
428
+ "args": [
429
+ {
430
+ "index": 0,
431
+ "value": 131072,
432
+ "valueTwo": 0,
433
+ "op": "SCMP_CMP_EQ"
434
+ }
435
+ ],
436
+ "comment": "",
437
+ "includes": {},
438
+ "excludes": {}
439
+ },
440
+ {
441
+ "names": ["personality"],
442
+ "action": "SCMP_ACT_ALLOW",
443
+ "args": [
444
+ {
445
+ "index": 0,
446
+ "value": 131080,
447
+ "valueTwo": 0,
448
+ "op": "SCMP_CMP_EQ"
449
+ }
450
+ ],
451
+ "comment": "",
452
+ "includes": {},
453
+ "excludes": {}
454
+ },
455
+ {
456
+ "names": ["personality"],
457
+ "action": "SCMP_ACT_ALLOW",
458
+ "args": [
459
+ {
460
+ "index": 0,
461
+ "value": 4294967295,
462
+ "valueTwo": 0,
463
+ "op": "SCMP_CMP_EQ"
464
+ }
465
+ ],
466
+ "comment": "",
467
+ "includes": {},
468
+ "excludes": {}
469
+ },
470
+ {
471
+ "names": ["sync_file_range2"],
472
+ "action": "SCMP_ACT_ALLOW",
473
+ "args": [],
474
+ "comment": "",
475
+ "includes": {
476
+ "arches": ["ppc64le"]
477
+ },
478
+ "excludes": {}
479
+ },
480
+ {
481
+ "names": [
482
+ "arm_fadvise64_64",
483
+ "arm_sync_file_range",
484
+ "sync_file_range2",
485
+ "breakpoint",
486
+ "cacheflush",
487
+ "set_tls"
488
+ ],
489
+ "action": "SCMP_ACT_ALLOW",
490
+ "args": [],
491
+ "comment": "",
492
+ "includes": {
493
+ "arches": ["arm", "arm64"]
494
+ },
495
+ "excludes": {}
496
+ },
497
+ {
498
+ "names": ["arch_prctl"],
499
+ "action": "SCMP_ACT_ALLOW",
500
+ "args": [],
501
+ "comment": "",
502
+ "includes": {
503
+ "arches": ["amd64", "x32"]
504
+ },
505
+ "excludes": {}
506
+ },
507
+ {
508
+ "names": ["modify_ldt"],
509
+ "action": "SCMP_ACT_ALLOW",
510
+ "args": [],
511
+ "comment": "",
512
+ "includes": {
513
+ "arches": ["amd64", "x32", "x86"]
514
+ },
515
+ "excludes": {}
516
+ },
517
+ {
518
+ "names": ["s390_pci_mmio_read", "s390_pci_mmio_write", "s390_runtime_instr"],
519
+ "action": "SCMP_ACT_ALLOW",
520
+ "args": [],
521
+ "comment": "",
522
+ "includes": {
523
+ "arches": ["s390", "s390x"]
524
+ },
525
+ "excludes": {}
526
+ },
527
+ {
528
+ "names": ["open_by_handle_at"],
529
+ "action": "SCMP_ACT_ALLOW",
530
+ "args": [],
531
+ "comment": "",
532
+ "includes": {
533
+ "caps": ["CAP_DAC_READ_SEARCH"]
534
+ },
535
+ "excludes": {}
536
+ },
537
+ {
538
+ "names": [
539
+ "bpf",
540
+ "clone",
541
+ "fanotify_init",
542
+ "lookup_dcookie",
543
+ "mount",
544
+ "name_to_handle_at",
545
+ "perf_event_open",
546
+ "quotactl",
547
+ "setdomainname",
548
+ "sethostname",
549
+ "setns",
550
+ "syslog",
551
+ "umount",
552
+ "umount2",
553
+ "unshare"
554
+ ],
555
+ "action": "SCMP_ACT_ALLOW",
556
+ "args": [],
557
+ "comment": "",
558
+ "includes": {
559
+ "caps": ["CAP_SYS_ADMIN"]
560
+ },
561
+ "excludes": {}
562
+ },
563
+ {
564
+ "names": ["clone"],
565
+ "action": "SCMP_ACT_ALLOW",
566
+ "args": [
567
+ {
568
+ "index": 0,
569
+ "value": 2114060288,
570
+ "valueTwo": 0,
571
+ "op": "SCMP_CMP_MASKED_EQ"
572
+ }
573
+ ],
574
+ "comment": "",
575
+ "includes": {},
576
+ "excludes": {
577
+ "caps": ["CAP_SYS_ADMIN"],
578
+ "arches": ["s390", "s390x"]
579
+ }
580
+ },
581
+ {
582
+ "names": ["clone"],
583
+ "action": "SCMP_ACT_ALLOW",
584
+ "args": [
585
+ {
586
+ "index": 1,
587
+ "value": 2114060288,
588
+ "valueTwo": 0,
589
+ "op": "SCMP_CMP_MASKED_EQ"
590
+ }
591
+ ],
592
+ "comment": "s390 parameter ordering for clone is different",
593
+ "includes": {
594
+ "arches": ["s390", "s390x"]
595
+ },
596
+ "excludes": {
597
+ "caps": ["CAP_SYS_ADMIN"]
598
+ }
599
+ },
600
+ {
601
+ "names": ["reboot"],
602
+ "action": "SCMP_ACT_ALLOW",
603
+ "args": [],
604
+ "comment": "",
605
+ "includes": {
606
+ "caps": ["CAP_SYS_BOOT"]
607
+ },
608
+ "excludes": {}
609
+ },
610
+ {
611
+ "names": ["chroot"],
612
+ "action": "SCMP_ACT_ALLOW",
613
+ "args": [],
614
+ "comment": "",
615
+ "includes": {
616
+ "caps": ["CAP_SYS_CHROOT"]
617
+ },
618
+ "excludes": {}
619
+ },
620
+ {
621
+ "names": ["delete_module", "init_module", "finit_module"],
622
+ "action": "SCMP_ACT_ALLOW",
623
+ "args": [],
624
+ "comment": "",
625
+ "includes": {
626
+ "caps": ["CAP_SYS_MODULE"]
627
+ },
628
+ "excludes": {}
629
+ },
630
+ {
631
+ "names": ["acct"],
632
+ "action": "SCMP_ACT_ALLOW",
633
+ "args": [],
634
+ "comment": "",
635
+ "includes": {
636
+ "caps": ["CAP_SYS_PACCT"]
637
+ },
638
+ "excludes": {}
639
+ },
640
+ {
641
+ "names": ["kcmp", "process_vm_readv", "process_vm_writev", "ptrace"],
642
+ "action": "SCMP_ACT_ALLOW",
643
+ "args": [],
644
+ "comment": "",
645
+ "includes": {
646
+ "caps": ["CAP_SYS_PTRACE"]
647
+ },
648
+ "excludes": {}
649
+ },
650
+ {
651
+ "names": ["iopl", "ioperm"],
652
+ "action": "SCMP_ACT_ALLOW",
653
+ "args": [],
654
+ "comment": "",
655
+ "includes": {
656
+ "caps": ["CAP_SYS_RAWIO"]
657
+ },
658
+ "excludes": {}
659
+ },
660
+ {
661
+ "names": ["settimeofday", "stime", "clock_settime"],
662
+ "action": "SCMP_ACT_ALLOW",
663
+ "args": [],
664
+ "comment": "",
665
+ "includes": {
666
+ "caps": ["CAP_SYS_TIME"]
667
+ },
668
+ "excludes": {}
669
+ },
670
+ {
671
+ "names": ["vhangup"],
672
+ "action": "SCMP_ACT_ALLOW",
673
+ "args": [],
674
+ "comment": "",
675
+ "includes": {
676
+ "caps": ["CAP_SYS_TTY_CONFIG"]
677
+ },
678
+ "excludes": {}
679
+ },
680
+ {
681
+ "names": ["get_mempolicy", "mbind", "set_mempolicy"],
682
+ "action": "SCMP_ACT_ALLOW",
683
+ "args": [],
684
+ "comment": "",
685
+ "includes": {
686
+ "caps": ["CAP_SYS_NICE"]
687
+ },
688
+ "excludes": {}
689
+ },
690
+ {
691
+ "names": ["syslog"],
692
+ "action": "SCMP_ACT_ALLOW",
693
+ "args": [],
694
+ "comment": "",
695
+ "includes": {
696
+ "caps": ["CAP_SYSLOG"]
697
+ },
698
+ "excludes": {}
699
+ }
700
+ ]
701
+ }