소스 검색

Make the sandbox code allow the writev() syscall.

Tor doesn't use it directly, but the glibc backtrace-to-fd code does
Nick Mathewson 12 년 전
부모
커밋
196895ed7e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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),