]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make the sandbox code allow the writev() syscall.
authorNick Mathewson <nickm@torproject.org>
Thu, 10 Apr 2014 19:08:28 +0000 (15:08 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 10 Apr 2014 19:08:28 +0000 (15:08 -0400)
Tor doesn't use it directly, but the glibc backtrace-to-fd code does

src/common/sandbox.c

index 5775289882e47116c99d90b900543483fa2d1432..0a7a129b544f14c9f558a310bf2e7d6299128d7d 100644 (file)
@@ -119,6 +119,7 @@ static int filter_nopar_gen[] = {
     SCMP_SYS(stat),
     SCMP_SYS(uname),
     SCMP_SYS(write),
+    SCMP_SYS(writev),
     SCMP_SYS(exit_group),
     SCMP_SYS(exit),