1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00

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>
This commit is contained in:
Chen Minqiang 2022-07-31 05:04:58 +08:00 committed by Christian Lamparter
parent 35a0f2b00c
commit 31cca8f8d3

@ -19,12 +19,15 @@
"fcntl", "fcntl",
"fcntl64", "fcntl64",
"fstat", "fstat",
"getdents64",
"getsockname", "getsockname",
"getrandom",
"ioctl", "ioctl",
"madvise", "madvise",
"mmap", "mmap",
"mmap2", "mmap2",
"munmap", "munmap",
"newfstatat",
"open", "open",
"openat", "openat",
"pipe", "pipe",
@ -42,6 +45,7 @@
"setsockopt", "setsockopt",
"sigreturn", "sigreturn",
"socket", "socket",
"statx",
"time", "time",
"uname", "uname",
"write", "write",