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
commit5c3639923fb3d7a1bfc7b38248001e67333fa35e (patch)
tree9060b7ea68e584aea2411cb99f4a11d6f4631134 /src/common/sandbox.c
parentce8e7427b9284ef12b69d50d72c8fc315b90e36d (diff)
parent9727b4c5d683173888b5a49e8b24c3faa9045521 (diff)
downloadtor-5c3639923fb3d7a1bfc7b38248001e67333fa35e.tar.gz
tor-5c3639923fb3d7a1bfc7b38248001e67333fa35e.zip
Merge branch 'maint-0.2.9' into maint-0.3.1
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 4dd3e916db..312cf37722 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -191,6 +191,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