umdns: convert seccomp filter rules to OCI format
[openwrt/openwrt.git] / package / network / services / umdns / files / umdns.json
1 {
2 "defaultAction": "SCMP_ACT_KILL_PROCESS",
3 "syscalls": [
4 {
5 "names": [
6 "read",
7 "write",
8 "open",
9 "close",
10 "time",
11 "brk",
12 "ioctl",
13 "uname",
14 "bind",
15 "connect",
16 "getsockname",
17 "recvmsg",
18 "recvfrom",
19 "sendmsg",
20 "sendto",
21 "setsockopt",
22 "socket",
23 "pipe",
24 "poll",
25 "fcntl64",
26 "epoll_create",
27 "epoll_create1",
28 "epoll_ctl",
29 "epoll_wait",
30 "epoll_pwait",
31 "rt_sigaction",
32 "sigreturn",
33 "rt_sigreturn",
34 "rt_sigprocmask",
35 "exit_group",
36 "exit",
37 "fcntl",
38 "clock_gettime"
39 ],
40 "action": "SCMP_ACT_ALLOW"
41 }
42 ]
43 }