umdns: add missing syscalls to seccomp filter
authorDaniel Golle <daniel@makrotopia.org>
Sat, 10 Apr 2021 16:30:49 +0000 (17:30 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Apr 2021 10:05:12 +0000 (12:05 +0200)
commit1a0afbd6f21fa44a57ce643dcc99dad654231855
tree1a69c9b82cc828740f772390d83000b11abf7a4f
parent36ee555c5fe0dcb77f6bcec72d8be223ba897b48
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>
(cherry picked from commit 00a85a163405fdf9bee4d8c3f0ee87ca9ed259d6)
package/network/services/umdns/files/umdns.json