summaryrefslogtreecommitdiff
path: root/src/lib/sandbox/sandbox.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-13 16:48:21 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-13 16:48:21 -0500
commit021187f91503814f13dd73b9ed835c20c57f945d (patch)
treea557e65161cfd5100bb6e2fade9ead35e6f2c23f /src/lib/sandbox/sandbox.c
parent6f2151be9a3e8b535bff4477a17f9c41d3f1d7f4 (diff)
parent0e5378feeca5d67b7e8f5550eaf7fcd87b8f59ea (diff)
downloadtor-021187f91503814f13dd73b9ed835c20c57f945d.tar.gz
tor-021187f91503814f13dd73b9ed835c20c57f945d.zip
Merge branch 'bug28183_029' into maint-0.3.5
Diffstat (limited to 'src/lib/sandbox/sandbox.c')
-rw-r--r--src/lib/sandbox/sandbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c
index 48e37ba127..6f074bb4e1 100644
--- a/src/lib/sandbox/sandbox.c
+++ b/src/lib/sandbox/sandbox.c
@@ -222,6 +222,7 @@ static int filter_nopar_gen[] = {
#ifdef __NR_setrlimit
SCMP_SYS(setrlimit),
#endif
+ SCMP_SYS(shutdown),
#ifdef __NR_sigaltstack
SCMP_SYS(sigaltstack),
#endif
@@ -1803,4 +1804,5 @@ void
sandbox_disable_getaddrinfo_cache(void)
{
}
+
#endif /* !defined(USE_LIBSECCOMP) */