aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-10 15:08:28 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-10 15:08:28 -0400
commit196895ed7ed1bd4c93c4c3cdd12893cfa4e4cc41 (patch)
tree95f3ddd4c984dc178c6f57a01f414363e767feec /src/common
parenta7904543689917d0087ea47ad3d3c1631cdd2bde (diff)
downloadtor-196895ed7ed1bd4c93c4c3cdd12893cfa4e4cc41.tar
tor-196895ed7ed1bd4c93c4c3cdd12893cfa4e4cc41.tar.gz
Make the sandbox code allow the writev() syscall.
Tor doesn't use it directly, but the glibc backtrace-to-fd code does
Diffstat (limited to 'src/common')
-rw-r--r--src/common/sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 577528988..0a7a129b5 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),