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>
This commit is contained in:
Daniel Golle 2020-03-08 17:40:33 +01:00
parent 5ae3bdb5f1
commit 3724ed3d68
2 changed files with 8 additions and 1 deletions

View file

@ -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

View file

@ -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"
],