]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
sandbox: permit listen(2)
authorNick Mathewson <nickm@torproject.org>
Tue, 27 May 2014 23:28:12 +0000 (19:28 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 27 May 2014 23:28:12 +0000 (19:28 -0400)
Fix for 12115; bugfix on 0.2.5.1-alpha

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

diff --git a/changes/bug12115 b/changes/bug12115
new file mode 100644 (file)
index 0000000..7b84649
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes (linux seccomp sandbox):
+    - Avoid crashing when re-opening listener ports with the seccomp
+      sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
index 7586c0cb388ab824ab29d1f3894cab2920c54dda..ba1956b144896aaa02c0a8fcb7bff9f38e93a290 100644 (file)
@@ -186,6 +186,7 @@ static int filter_nopar_gen[] = {
 
     // socket syscalls
     SCMP_SYS(bind),
+    SCMP_SYS(listen),
     SCMP_SYS(connect),
     SCMP_SYS(getsockname),
     SCMP_SYS(recvmsg),