]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add fsync to list of syscalls permitted by sandbox
authorNick Mathewson <nickm@torproject.org>
Thu, 9 Apr 2020 12:33:11 +0000 (08:33 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 9 Apr 2020 12:33:19 +0000 (08:33 -0400)
(Our fix for 33087 requires this, I believe.)

src/lib/sandbox/sandbox.c

index 1d2c40c7536869d60bba82780f52ccc82617ecf1..626a4dc5a5359e6d786cabfe84cae7e5170688dc 100644 (file)
@@ -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),