[tor-commits] [tor/master] Make the sandbox code allow the writev() syscall.

nickm at torproject.org nickm at torproject.org
Wed Apr 16 00:55:49 UTC 2014


commit 196895ed7ed1bd4c93c4c3cdd12893cfa4e4cc41
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Apr 10 15:08:28 2014 -0400

    Make the sandbox code allow the writev() syscall.
    
    Tor doesn't use it directly, but the glibc backtrace-to-fd code does
---
 src/common/sandbox.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 5775289..0a7a129 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -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),
 





More information about the tor-commits mailing list