summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-04 12:18:10 +0100
committerNick Mathewson <nickm@torproject.org>2015-03-04 12:18:10 +0100
commitd5b2cbea106e020436d577e42672d281400558dd (patch)
tree5c7012197bd7e8e18ea1be01b6d43d842ab8656a /src/common
parent51e36026e5b04384bf3311354ef0cd5a5cbf2d59 (diff)
downloadtor-d5b2cbea106e020436d577e42672d281400558dd.tar.gz
tor-d5b2cbea106e020436d577e42672d281400558dd.zip
Add wait4 to the seccomp2 sandbox allowable syscall list
fixes bug 15088. patch from sanic.
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 dbbaa59d7c..e43b64b913 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -164,6 +164,7 @@ static int filter_nopar_gen[] = {
#endif
SCMP_SYS(stat),
SCMP_SYS(uname),
+ SCMP_SYS(wait4),
SCMP_SYS(write),
SCMP_SYS(writev),
SCMP_SYS(exit_group),