diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-06-16 14:03:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-16 14:03:02 -0400 |
commit | 59f29970fa78bec8c01bd5f16edca8c24b8724f5 (patch) | |
tree | 8d5d0a6b4d1007664993e6e1d62b5881d3a25857 /src/common | |
parent | cd7d006e0829ac83c1d9e5f04fff9ca239973014 (diff) | |
download | tor-59f29970fa78bec8c01bd5f16edca8c24b8724f5.tar.gz tor-59f29970fa78bec8c01bd5f16edca8c24b8724f5.zip |
Permit the fchmod system call.
Fixes bug 22516; bugfix on 0.2.5.4-alpha.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/sandbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c index 95c9f83b8d..da96ad8248 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 |