From 59f29970fa78bec8c01bd5f16edca8c24b8724f5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 16 Jun 2017 14:03:02 -0400 Subject: Permit the fchmod system call. Fixes bug 22516; bugfix on 0.2.5.4-alpha. --- src/common/sandbox.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 @@ -135,6 +135,9 @@ static int filter_nopar_gen[] = { #endif #ifdef HAVE_PIPE SCMP_SYS(pipe), +#endif +#ifdef __NR_fchmod + SCMP_SYS(fchmod), #endif SCMP_SYS(fcntl), SCMP_SYS(fstat), -- cgit v1.2.3-54-g00ecf