aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-23 09:24:33 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-23 09:24:33 -0400
commite8683bcbb19318fcd9df04464296d6581adc959d (patch)
tree404774e789efca0091d69d675e32a0428fb397bb /src/common/sandbox.c
parentcb813a352c1ee76c101fe2143b6fff75842b9e42 (diff)
parent1438c6c7134c53b2aa3b5e9abf94fe12a4d9bd5e (diff)
downloadtor-e8683bcbb19318fcd9df04464296d6581adc959d.tar.gz
tor-e8683bcbb19318fcd9df04464296d6581adc959d.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