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
1 changed files with 4 additions and 0 deletions

View File

@ -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",