From 3724ed3d6888705c64cb38f8f66aad5486d192ae Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 8 Mar 2020 17:40:33 +0100 Subject: [PATCH] transmission: add syscalls to seccomp filter Syscalls observered when running on arm32. Add them to seccomp rule. Signed-off-by: Daniel Golle --- net/transmission/Makefile | 2 +- net/transmission/files/transmission-daemon.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/net/transmission/Makefile b/net/transmission/Makefile index f6a1fb610d..41fbef8456 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=transmission PKG_VERSION:=2.94 -PKG_RELEASE:=12 +PKG_RELEASE:=13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master diff --git a/net/transmission/files/transmission-daemon.json b/net/transmission/files/transmission-daemon.json index e284886de4..08fbdc355a 100644 --- a/net/transmission/files/transmission-daemon.json +++ b/net/transmission/files/transmission-daemon.json @@ -1,5 +1,6 @@ { "whitelist": [ + "accept", "accept4", "access", "arm_fadvise64_64", @@ -27,6 +28,7 @@ "getpid", "getsockname", "getsockopt", + "getuid32", "ioctl", "listen", "_llseek", @@ -37,6 +39,7 @@ "mmap", "mmap2", "mprotect", + "mremap", "munmap", "nanosleep", "_newselect", @@ -47,6 +50,7 @@ "pread64", "prlimit64", "pwrite64", + "quotactl", "read", "readlink", "readv", @@ -64,9 +68,12 @@ "socket", "stat", "stat64", + "socketpair", "umask", "uname", "unlink", + "statfs64", + "umask", "write", "writev" ], -- 2.30.2