tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 021187f91503814f13dd73b9ed835c20c57f945d
parent 6f2151be9a3e8b535bff4477a17f9c41d3f1d7f4
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue, 13 Nov 2018 16:48:21 -0500

Merge branch 'bug28183_029' into maint-0.3.5

Diffstat:
Achanges/bug28183 | 4++++
Msrc/lib/sandbox/sandbox.c | 2++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/changes/bug28183 b/changes/bug28183 @@ -0,0 +1,4 @@ + o Minor bugfixes (Linux seccomp2 sandbox): + - Permit the "shutdown()" system call, which is apparently + used by OpenSSL under some circumstances. Fixes bug 28183; + bugfix on 0.2.5.1-alpha. diff --git 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) */