summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-03-08 17:40:33 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-03-08 17:43:03 +0100
commit3724ed3d6888705c64cb38f8f66aad5486d192ae (patch)
tree4b19a78f419c91f59b5d7bc528998d86e981b480
parent5ae3bdb5f11bcf68467b380ceb565adb5166813f (diff)
transmission: add syscalls to seccomp filter
Syscalls observered when running on arm32. Add them to seccomp rule. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--net/transmission/Makefile2
-rw-r--r--net/transmission/files/transmission-daemon.json7
2 files changed, 8 insertions, 1 deletions
diff --git a/net/transmission/Makefile b/net/transmission/Makefile
index f6a1fb610..41fbef845 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 e284886de..08fbdc355 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"
],