openwrt/package/network/services/umdns/files/umdns.json
Chen Minqiang 31cca8f8d3 umdns: add missing syscall to seccomp filter
There is some syscall missing:
'getdents64'
'getrandom'
'statx'
'newfstatat'

Found with:
'mkdir /etc/umdns; ln -s /tmp/1.json /etc/umdns/; utrace /usr/sbin/umdns'

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2022-08-05 14:10:42 +02:00

58 lines
846 B
JSON

{
"defaultAction": "SCMP_ACT_KILL_PROCESS",
"syscalls": [
{
"names": [
"bind",
"brk",
"clock_gettime",
"clock_gettime64",
"close",
"connect",
"epoll_create",
"epoll_create1",
"epoll_ctl",
"epoll_pwait",
"epoll_wait",
"exit",
"exit_group",
"fcntl",
"fcntl64",
"fstat",
"getdents64",
"getsockname",
"getrandom",
"ioctl",
"madvise",
"mmap",
"mmap2",
"munmap",
"newfstatat",
"open",
"openat",
"pipe",
"pipe2",
"poll",
"ppoll",
"read",
"recvfrom",
"recvmsg",
"rt_sigaction",
"rt_sigprocmask",
"rt_sigreturn",
"sendmsg",
"sendto",
"setsockopt",
"sigreturn",
"socket",
"statx",
"time",
"uname",
"write",
"writev"
],
"action": "SCMP_ACT_ALLOW"
}
]
}