aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-06-19 13:52:19 -0400
committerNick Mathewson <nickm@torproject.org>2017-06-19 13:52:19 -0400
commiteff5e29404980a87b4618e8623c35a363af6cc04 (patch)
tree9357eb75f9cab52e542feb0200c0a856282c5a3b /src
parent5641e27ffbd1016ed88e05f10319a2b041b5e167 (diff)
parent71c701927a27723f0bc9009a044a4bdece55f361 (diff)
downloadtor-eff5e29404980a87b4618e8623c35a363af6cc04.tar.gz
tor-eff5e29404980a87b4618e8623c35a363af6cc04.zip
Merge branch 'maint-0.3.0' into maint-0.3.1
Diffstat (limited to 'src')
-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 7826b2d40c..aae0705af4 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -136,6 +136,9 @@ static int filter_nopar_gen[] = {
#ifdef HAVE_PIPE
SCMP_SYS(pipe),
#endif
+#ifdef __NR_fchmod
+ SCMP_SYS(fchmod),
+#endif
SCMP_SYS(fcntl),
SCMP_SYS(fstat),
#ifdef __NR_fstat64