From 1a5d35dd7b1c60b24190b42a6fdf46d9c237a3b2 Mon Sep 17 00:00:00 2001 From: Ren Zongjia Date: Wed, 13 Oct 2021 08:49:34 +0800 Subject: [PATCH] transmission: update seccomp config file Add missing syscalls found using utrace. Signed-off-by: Ren Zongjia Signed-off-by: Daniel Golle --- .../files/transmission-daemon.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/net/transmission/files/transmission-daemon.json b/net/transmission/files/transmission-daemon.json index 7621c4021..41c3a7d86 100644 --- a/net/transmission/files/transmission-daemon.json +++ b/net/transmission/files/transmission-daemon.json @@ -19,6 +19,7 @@ "epoll_pwait", "exit", "exit_group", + "faccessat", "fadvise64", "fadvise64_64", "fallocate", @@ -31,6 +32,7 @@ "futex", "getdents64", "getegid32", + "getenv", "geteuid32", "getgid32", "getpeername", @@ -47,26 +49,33 @@ "madvise", "membarrier", "mkdir", + "mkdirat", "mmap", "mmap2", "mprotect", "mremap", "munmap", "nanosleep", + "newfstatat", "_newselect", "open", + "openat", "pipe", "pipe2", "poll", + "ppoll", "pread64", "prlimit64", + "pselect6", "pwrite64", "quotactl", "read", "readlink", + "readlinkat", "readv", "recvfrom", "rename", + "renameat", "rmdir", "rt_sigaction", "rt_sigprocmask", @@ -77,15 +86,16 @@ "shutdown", "sigreturn", "socket", + "socketpair", "stat", - "statx", "stat64", - "socketpair", + "statfs", + "statfs64", + "statx", "umask", "uname", "unlink", - "statfs64", - "umask", + "unlinkat", "write", "writev" ],