diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-04-09 08:33:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-04-09 08:33:19 -0400 |
commit | c4da0a5094e21241db8ce0d8b12c2e4272fa49ef (patch) | |
tree | a876a755d4de7c4789ecc7effc2db5f7563e6924 /src/lib/sandbox | |
parent | c2aea6134a3333bbace155f37fcabf8a5b4e2744 (diff) | |
download | tor-c4da0a5094e21241db8ce0d8b12c2e4272fa49ef.tar.gz tor-c4da0a5094e21241db8ce0d8b12c2e4272fa49ef.zip |
Add fsync to list of syscalls permitted by sandbox
(Our fix for 33087 requires this, I believe.)
Diffstat (limited to 'src/lib/sandbox')
-rw-r--r-- | src/lib/sandbox/sandbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/sandbox/sandbox.c b/src/lib/sandbox/sandbox.c index 1d2c40c753..626a4dc5a5 100644 --- a/src/lib/sandbox/sandbox.c +++ b/src/lib/sandbox/sandbox.c @@ -166,6 +166,7 @@ static int filter_nopar_gen[] = { #ifdef __NR_fstat64 SCMP_SYS(fstat64), #endif + SCMP_SYS(fsync), SCMP_SYS(futex), SCMP_SYS(getdents), SCMP_SYS(getdents64), |