[PATCH] umdns: add missing syscalls to seccomp filter

Ronny Kotzschmar ro.ok at me.com
Thu Oct 7 06:28:13 PDT 2021


The 'mmap', 'mmap2', 'munmap' syscalls are missing.
Found with 'utrace /usr/sbin/umdns'.

Signed-off-by: Ronny Kotzschmar <ro.ok at me.com>

diff --git a/package/network/services/umdns/files/umdns.json b/package/network/services/umdns/files/umdns.json
index 5533b7c512..aa9f49fa32 100644
--- a/package/network/services/umdns/files/umdns.json
+++ b/package/network/services/umdns/files/umdns.json
@@ -20,6 +20,9 @@
 				"fstat",
 				"getsockname",
 				"ioctl",
+				"mmap",
+				"mmap2",
+				"munmap",
 				"open",
 				"openat",
 				"pipe",
-- 
2.33.0




More information about the openwrt-devel mailing list