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

[tor-commits] [tor/master] Add wait4 to the seccomp2 sandbox allowable syscall list



commit d5b2cbea106e020436d577e42672d281400558dd
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Mar 4 12:18:10 2015 +0100

    Add wait4 to the seccomp2 sandbox allowable syscall list
    
    fixes bug 15088. patch from sanic.
---
 changes/bug15088     |    4 ++++
 src/common/sandbox.c |    1 +
 2 files changed, 5 insertions(+)

diff --git a/changes/bug15088 b/changes/bug15088
new file mode 100644
index 0000000..95878bd
--- /dev/null
+++ b/changes/bug15088
@@ -0,0 +1,4 @@
+  o Minor bugfixes (Linux seccomp2 sandbox):
+    - Upon receiving sighup, do not crash during attempts to call
+      wait4. Fixes bug 15088; bugfix on 0.2.5.1-alpha. Patch from
+      "sanic".
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index dbbaa59..e43b64b 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -164,6 +164,7 @@ static int filter_nopar_gen[] = {
 #endif
     SCMP_SYS(stat),
     SCMP_SYS(uname),
+    SCMP_SYS(wait4),
     SCMP_SYS(write),
     SCMP_SYS(writev),
     SCMP_SYS(exit_group),



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits