umdns: add missing syscalls to seccomp filter
authorDaniel Golle <daniel@makrotopia.org>
Sat, 10 Apr 2021 16:30:49 +0000 (17:30 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 10 Apr 2021 16:36:03 +0000 (17:36 +0100)
commit00a85a163405fdf9bee4d8c3f0ee87ca9ed259d6
treeab2d58a470135766a6f4225ab8a2ca5acd24d794
parent734c3f71482d5234f320f9b2b9acd8c51be51ae6
umdns: add missing syscalls to seccomp filter

Looks like 'openat', 'pipe2' and 'ppoll' are now needed, possibly due
to changes on libraries used by umdns now using slightly different
calls.

Found using
/etc/init.d/umdns trace
now use umdns, ie. cover all ubus call etc., then
/etc/init.d/umdns stop
find list of syscalls traced in /tmp/umdns.*.json

Fixes: FS#3355 ("UMDNS: does not start on master with seccomp")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/services/umdns/files/umdns.json