transmission: convert seccomp filter rules to OCI format

procd-seccomp switched to OCI-compliant seccomp parser instead of our
(legacy, OpenWrt-specific) format. Convert ruleset to new format.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2020-11-17 13:14:02 +00:00
parent 316f870228
commit 6b2ec8bcb5
No known key found for this signature in database
GPG key ID: DD8D36F0A710502F
2 changed files with 85 additions and 80 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=transmission PKG_NAME:=transmission
PKG_VERSION:=3.00 PKG_VERSION:=3.00
PKG_RELEASE:=7 PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master

View file

@ -1,5 +1,8 @@
{ {
"whitelist": [ "defaultAction": "SCMP_ACT_KILL_PROCESS",
"syscalls": [
{
"names": [
"accept", "accept",
"accept4", "accept4",
"access", "access",
@ -77,5 +80,7 @@
"write", "write",
"writev" "writev"
], ],
"policy": 1 "action": "SCMP_ACT_ALLOW"
}
]
} }