diff options
author | Chen Minqiang <ptpt52@gmail.com> | 2022-07-31 05:04:58 +0800 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-08-05 14:10:42 +0200 |
commit | 31cca8f8d3f6218965812c46de35ba30c4ba83ab (patch) | |
tree | 08c1ba7868c549724dc967743c4c83d198c15248 | |
parent | 35a0f2b00c44a43ad087327f0cbdb1c9c5e60c49 (diff) | |
download | upstream-31cca8f8d3f6218965812c46de35ba30c4ba83ab.tar.gz upstream-31cca8f8d3f6218965812c46de35ba30c4ba83ab.tar.bz2 upstream-31cca8f8d3f6218965812c46de35ba30c4ba83ab.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>
-rw-r--r-- | package/network/services/umdns/files/umdns.json | 4 |
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", |