Commit 59f29970 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Permit the fchmod system call.

Fixes bug 22516; bugfix on 0.2.5.4-alpha.
parent cd7d006e
Loading
Loading
Loading
Loading

changes/bug22516

0 → 100644
+5 −0
Original line number Diff line number Diff line
  o Minor bugfixes (linux seccomp2 sandbox):
    - Permit the fchmod system call, to avoid crashing on startup when
      starting with the seccomp2 sandbox and an unexpected set of permissions
      on the data directory or its contents. Fixes bug 22516; bugfix on
      0.2.5.4-alpha.
+3 −0
Original line number Diff line number Diff line
@@ -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),