[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 196895ed7ed1bd4c93c4c3cdd12893cfa4e4cc41
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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),
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits