commit 4ba89c0ccc9452fa995f75a75824e828f62bbf92
parent 32356a607608596a0607c80eb8505dedfc315894
Author: Alexander Færøy <ahf@torproject.org>
Date: Mon, 9 May 2022 14:37:26 +0000
Merge branch 'maint-0.4.5' into maint-0.4.6
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/changes/ticket40601 b/changes/ticket40601
@@ -0,0 +1,4 @@
+ o Minor bugfixes (linux seccomp2 sandbox):
+ - Allow the rseq system call in the sandbox. This solves a crash issue with
+ glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug 40601; bugfix on
+ 0.3.5.11.
diff --git 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),