aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Minqiang <ptpt52@gmail.com>2022-07-31 05:04:58 +0800
committerChristian Lamparter <chunkeey@gmail.com>2022-08-06 22:25:07 +0200
commit62fff4e1e6dd0315344d5fd34380fa5f85935199 (patch)
tree7c189d8824da29ffea51021faaa475e48a503ebd
parentecf0dc7055fa8133560f12367f359f44709d133c (diff)
downloadupstream-62fff4e1e6dd0315344d5fd34380fa5f85935199.tar.gz
upstream-62fff4e1e6dd0315344d5fd34380fa5f85935199.tar.bz2
upstream-62fff4e1e6dd0315344d5fd34380fa5f85935199.zip
umdns: add missing syscall to seccomp filter
There is some syscall missing: 'getdents64' 'getrandom' 'statx' 'newfstatat' Found with: 'mkdir /etc/umdns; ln -s /tmp/1.json /etc/umdns/; utrace /usr/sbin/umdns' Signed-off-by: Chen Minqiang <ptpt52@gmail.com> (cherry picked from commit 31cca8f8d3f6218965812c46de35ba30c4ba83ab)
-rw-r--r--package/network/services/umdns/files/umdns.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/services/umdns/files/umdns.json b/package/network/services/umdns/files/umdns.json
index 92f1a17b52..554b616633 100644
--- a/package/network/services/umdns/files/umdns.json
+++ b/package/network/services/umdns/files/umdns.json
@@ -19,12 +19,15 @@
"fcntl",
"fcntl64",
"fstat",
+ "getdents64",
"getsockname",
+ "getrandom",
"ioctl",
"madvise",
"mmap",
"mmap2",
"munmap",
+ "newfstatat",
"open",
"openat",
"pipe",
@@ -42,6 +45,7 @@
"setsockopt",
"sigreturn",
"socket",
+ "statx",
"time",
"uname",
"write",