Explorar o código

Merge remote-tracking branch 'public/bug15088_025' into maint-0.2.6

Nick Mathewson %!s(int64=9) %!d(string=hai) anos
pai
achega
c5c4ea2db0
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  1. 4 0
      changes/bug15088
  2. 1 0
      src/common/sandbox.c

+ 4 - 0
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".

+ 1 - 0
src/common/sandbox.c

@@ -176,6 +176,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),