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",
"fcntl64",
"fstat",
"getdents64",
"getsockname",
"getrandom",
"ioctl",
"madvise",
"mmap",
"mmap2",
"munmap",
"newfstatat",
"open",
"openat",
"pipe",
@ -42,6 +45,7 @@
"setsockopt",
"sigreturn",
"socket",
"statx",
"time",
"uname",
"write",