From 4b8ae872584947c0527eb5f76f06444f7b060cb4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Sat, 9 Apr 2022 08:27:03 +0000 Subject: [PATCH] Tor: glibc needs rseq syscall as well MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: #12807 (finally) Tested-by: Peter Müller Signed-off-by: Peter Müller --- .../Tor-Sandbox-permit-the-clone3-system-call.patch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/patches/Tor-Sandbox-permit-the-clone3-system-call.patch b/src/patches/Tor-Sandbox-permit-the-clone3-system-call.patch index e8c6957f23..7e819ce733 100644 --- a/src/patches/Tor-Sandbox-permit-the-clone3-system-call.patch +++ b/src/patches/Tor-Sandbox-permit-the-clone3-system-call.patch @@ -1,13 +1,14 @@ diff -Naur tor-0.4.6.10.orig/src/lib/sandbox/sandbox.c tor-0.4.6.10/src/lib/sandbox/sandbox.c ---- tor-0.4.6.10.orig/src/lib/sandbox/sandbox.c 2022-03-31 07:17:55.966217291 +0000 -+++ tor-0.4.6.10/src/lib/sandbox/sandbox.c 2022-03-31 07:19:23.730134367 +0000 -@@ -151,6 +151,9 @@ +--- tor-0.4.6.10.orig/src/lib/sandbox/sandbox.c 2022-04-09 07:58:00.281189564 +0000 ++++ tor-0.4.6.10/src/lib/sandbox/sandbox.c 2022-04-09 08:00:55.861698856 +0000 +@@ -151,6 +151,10 @@ SCMP_SYS(clock_gettime), SCMP_SYS(close), SCMP_SYS(clone), +#ifdef __NR_clone3 + SCMP_SYS(clone3), +#endif ++ SCMP_SYS(rseq), SCMP_SYS(dup), SCMP_SYS(epoll_create), SCMP_SYS(epoll_wait), -- 2.39.5