Sfoglia il codice sorgente

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 <[email protected]>
Chen Minqiang 3 anni fa
parent
commit
31cca8f8d3
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      package/network/services/umdns/files/umdns.json

+ 4 - 0
package/network/services/umdns/files/umdns.json

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