From b5911e2984c8127c64e92eed5e06e33d16fa8181 Mon Sep 17 00:00:00 2001 From: Marius Dinu Date: Sun, 23 Jul 2023 20:36:02 +0300 Subject: [PATCH] transmission: add copy_file_range syscall to seccomp Fixes this crash: root@RPi3OpenWrt:/# grep -i seccomp /var/log/audit/audit.log type=SECCOMP msg=audit(1689503903.597:16): auid=4294967295 uid=224 gid=1012 ses=4294967295 pid=1752 comm="transmission-da" exe="/usr/bin/transmission-daemon" sig=31 arch=c00000b7 syscall=285 compat=0 ip=0x7fa3b0eefc code=0x80000000 root@RPi3OpenWrt:/# ausyscall 285 copy_file_range root@RPi3OpenWrt:/# Signed-off-by: Marius Dinu (cherry picked from commit f0926b44f48fa04401c660b0818e74f6b654e5bc) --- net/transmission/Makefile | 2 +- net/transmission/files/transmission-daemon.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/transmission/Makefile b/net/transmission/Makefile index dd75860a90..ec8ec7cd89 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=transmission PKG_VERSION:=3.00 -PKG_RELEASE:=19 +PKG_RELEASE:=20 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 3c42264b71..92c930cd62 100644 --- a/net/transmission/files/transmission-daemon.json +++ b/net/transmission/files/transmission-daemon.json @@ -14,6 +14,7 @@ "clone", "close", "connect", + "copy_file_range", "epoll_create1", "epoll_ctl", "epoll_pwait", -- 2.30.2