Explorar o código

Make the sandbox code allow the writev() syscall.

Tor doesn't use it directly, but the glibc backtrace-to-fd code does
Nick Mathewson %!s(int64=12) %!d(string=hai) anos
pai
achega
196895ed7e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/common/sandbox.c

+ 1 - 0
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),