Browse Source

transmission: add a bunch of syscalls to seccomp filter

Add missing "inotify_add_watch", "inotify_init1" and "inotify_rm_watch"
syscalls to seccomp filter which are needed in case watch_dir feature
of transmission is used.

Fixes #16972
Reported-by: @siwind
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 3 years ago
parent
commit
c2f2e1706a
No known key found for this signature in database GPG Key ID: 5A8F39C31C3217CA
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      net/transmission/Makefile
  2. +3
    -0
      net/transmission/files/transmission-daemon.json

+ 1
- 1
net/transmission/Makefile View File

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


+ 3
- 0
net/transmission/files/transmission-daemon.json View File

@ -42,6 +42,9 @@
"getsockopt",
"getuid",
"getuid32",
"inotify_add_watch",
"inotify_init1",
"inotify_rm_watch",
"ioctl",
"listen",
"_llseek",


Loading…
Cancel
Save