diff mbox series

umdns: add missing syscalls to seccomp filter

Message ID mailman.3978.1633613302.1923571.openwrt-devel@lists.openwrt.org
State Accepted
Delegated to: Paul Spooren
Headers show
Series umdns: add missing syscalls to seccomp filter | expand

Commit Message

Ronny Kotzschmar Oct. 7, 2021, 1:28 p.m. UTC
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
The 'mmap', 'mmap2', 'munmap' syscalls are missing.
Found with 'utrace /usr/sbin/umdns'.

Signed-off-by: Ronny Kotzschmar <ro.ok@me.com>
diff mbox series

Patch

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