aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sandbox/sandbox.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2022-05-09 14:37:26 +0000
committerAlexander Færøy <ahf@torproject.org>2022-05-09 14:37:26 +0000
commit4ba89c0ccc9452fa995f75a75824e828f62bbf92 (patch)
treede29b780aa06612793e360144e0600d24c5dfc00 /src/lib/sandbox/sandbox.c
parent32356a607608596a0607c80eb8505dedfc315894 (diff)
parentc213c1b0d1616dc074779a26c8fc7b777697fe34 (diff)
downloadtor-4ba89c0ccc9452fa995f75a75824e828f62bbf92.tar.gz
tor-4ba89c0ccc9452fa995f75a75824e828f62bbf92.zip
Merge branch 'maint-0.4.5' into maint-0.4.6
Diffstat (limited to 'src/lib/sandbox/sandbox.c')
-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 5f73fd2b46..9a7487a2fa 100644
--- a/src/lib/sandbox/sandbox.c
+++ b/src/lib/sandbox/sandbox.c
@@ -227,6 +227,9 @@ static int filter_nopar_gen[] = {
#endif
SCMP_SYS(read),
SCMP_SYS(rt_sigreturn),
+#ifdef __NR_rseq
+ SCMP_SYS(rseq),
+#endif
SCMP_SYS(sched_getaffinity),
#ifdef __NR_sched_yield
SCMP_SYS(sched_yield),