transmission: add copy_file_range syscall to seccomp
authorMarius Dinu <m95d+git@psihoexpert.ro>
Sun, 23 Jul 2023 17:36:02 +0000 (20:36 +0300)
committerRosen Penev <rosenp@gmail.com>
Tue, 25 Jul 2023 05:44:32 +0000 (22:44 -0700)
commitf0926b44f48fa04401c660b0818e74f6b654e5bc
tree39656f134ae3dcb8289cb94013128584b3e83903
parent87fe94311298f9246af10694ba7d21bce45a3e37
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 <m95d+git@psihoexpert.ro>
net/transmission/Makefile
net/transmission/files/transmission-daemon.json