[openwrt/openwrt] umdns: add missing syscalls to seccomp filter

LEDE Commits lede-commits at lists.infradead.org
Fri Oct 8 12:28:23 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/72bfc35f8fc5ade55f4c66cb8d171b93e1358b15

commit 72bfc35f8fc5ade55f4c66cb8d171b93e1358b15
Author: Ronny Kotzschmar <ro.ok at me.com>
AuthorDate: Thu Oct 7 15:28:13 2021 +0200

    umdns: add missing syscalls to seccomp filter
    
    The 'mmap', 'mmap2', 'munmap' syscalls are missing.
    Found with 'utrace /usr/sbin/umdns'.
    
    Signed-off-by: Ronny Kotzschmar <ro.ok at me.com>
---
 package/network/services/umdns/files/umdns.json | 3 +++
 1 file changed, 3 insertions(+)

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



More information about the lede-commits mailing list