[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor] 01/05: sandbox: Permit rseq syscall as well



This is an automated email from the git hooks/post-receive script.

ahf pushed a commit to branch main
in repository tor.

commit d422a66f8759b2edd8d85df219e8a183058268e8
Author: pmu-ipf <peter.mueller@xxxxxxxxxx>
AuthorDate: Sat Apr 30 11:10:04 2022 +0000

    sandbox: Permit rseq syscall as well
    
    This was found to be necessary in conjunction with glibc 2.35 on Linux.
    
    Signed-off-by: Peter Müller <peter.mueller@xxxxxxxxxx>
---
 src/lib/sandbox/sandbox.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c
index e6e556eb59..7a57554ace 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),

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits