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:
parent
316f870228
commit
6b2ec8bcb5
2 changed files with 85 additions and 80 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue