summaryrefslogtreecommitdiff
path: root/src/common/sandbox.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-23 09:23:31 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-23 09:23:31 -0400
commitbeb321d8cdd6e7a2f0b9a0a4758cd71768531959 (patch)
tree4b6ca67286330aeeb15bc993505a6caf2962df5a /src/common/sandbox.c
parent44aa586dea7d8fb4a7db2d0beae46a0c3ae7589b (diff)
parent1438c6c7134c53b2aa3b5e9abf94fe12a4d9bd5e (diff)
downloadtor-beb321d8cdd6e7a2f0b9a0a4758cd71768531959.tar.gz
tor-beb321d8cdd6e7a2f0b9a0a4758cd71768531959.zip
Merge branch 'maint-0.3.2' into maint-0.3.3
Diffstat (limited to 'src/common/sandbox.c')
-rw-r--r--src/common/sandbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 3588f60dec..440f8722f2 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -197,6 +197,9 @@ static int filter_nopar_gen[] = {
SCMP_SYS(mmap),
#endif
SCMP_SYS(munmap),
+#ifdef __NR_nanosleep
+ SCMP_SYS(nanosleep),
+#endif
#ifdef __NR_prlimit
SCMP_SYS(prlimit),
#endif