Quellcode durchsuchen

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

Nick Mathewson vor 9 Jahren
Ursprung
Commit
c5c4ea2db0
2 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  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),