]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blame - src/patches/Tor-Sandbox-permit-the-clone3-system-call.patch
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/mfischer/ipfire-2.x.git] / src / patches / Tor-Sandbox-permit-the-clone3-system-call.patch
CommitLineData
65c6336a
PM
1diff -Naur tor-0.4.6.10.orig/src/lib/sandbox/sandbox.c tor-0.4.6.10/src/lib/sandbox/sandbox.c
2--- tor-0.4.6.10.orig/src/lib/sandbox/sandbox.c 2022-03-31 07:17:55.966217291 +0000
3+++ tor-0.4.6.10/src/lib/sandbox/sandbox.c 2022-03-31 07:19:23.730134367 +0000
4@@ -151,6 +151,9 @@
5 SCMP_SYS(clock_gettime),
6 SCMP_SYS(close),
7 SCMP_SYS(clone),
8+#ifdef __NR_clone3
9+ SCMP_SYS(clone3),
10+#endif
11 SCMP_SYS(dup),
12 SCMP_SYS(epoll_create),
13 SCMP_SYS(epoll_wait),