Tor: Pick up upstream patch for fixing sandbox with glibc >= 2.34

Fixes: #12807

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2022-03-31 07:24:25 +00:00
parent 260d9e7dd8
commit 65c6336aa3
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
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 @@
SCMP_SYS(clock_gettime),
SCMP_SYS(close),
SCMP_SYS(clone),
+#ifdef __NR_clone3
+ SCMP_SYS(clone3),
+#endif
SCMP_SYS(dup),
SCMP_SYS(epoll_create),
SCMP_SYS(epoll_wait),