aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-03-28 09:44:31 -0400
committerDavid Goulet <dgoulet@torproject.org>2022-03-28 09:44:31 -0400
commitb882b8d5d4b6c76e41fdf316b58fc26330ec7198 (patch)
tree7d5d6c74d580efed2f7a52310a4ac6d38b75c498 /src
parent3dee8a597f0639cc2f388103af3cdb12633fb575 (diff)
parentde3872656a8d3a79ca3d5fc55f1b64c4862b4c8a (diff)
downloadtor-b882b8d5d4b6c76e41fdf316b58fc26330ec7198.tar.gz
tor-b882b8d5d4b6c76e41fdf316b58fc26330ec7198.zip
Merge branch 'tor-gitlab/mr/556' into maint-0.4.5
Diffstat (limited to 'src')
-rw-r--r--src/lib/sandbox/sandbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c
index fc90dbe062..e6e556eb59 100644
--- a/src/lib/sandbox/sandbox.c
+++ b/src/lib/sandbox/sandbox.c
@@ -152,6 +152,9 @@ static int filter_nopar_gen[] = {
SCMP_SYS(close),
SCMP_SYS(clone),
SCMP_SYS(dup),
+#ifdef __NR_clone3
+ SCMP_SYS(clone3),
+#endif
SCMP_SYS(epoll_create),
SCMP_SYS(epoll_wait),
#ifdef __NR_epoll_pwait