]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add wait4 to the seccomp2 sandbox allowable syscall list
authorNick Mathewson <nickm@torproject.org>
Wed, 4 Mar 2015 11:18:10 +0000 (12:18 +0100)
committerNick Mathewson <nickm@torproject.org>
Wed, 4 Mar 2015 11:18:10 +0000 (12:18 +0100)
fixes bug 15088. patch from sanic.

changes/bug15088 [new file with mode: 0644]
src/common/sandbox.c

diff --git a/changes/bug15088 b/changes/bug15088
new file mode 100644 (file)
index 0000000..95878bd
--- /dev/null
@@ -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".
index dbbaa59d7ce08c6e0821321bc2154baca3a46d5c..e43b64b91344809749e880af5af318d4888b6616 100644 (file)
@@ -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),