1. 28 Jul, 2020 1 commit
    • Jigsaw52's avatar
      Fix startup crash with seccomp sandbox enabled #40072 · eab8e7af
      Jigsaw52 authored
      Fix crash introduced in #40020. On startup, tor calls
      check_private_dir on the data and key directories. This function
      uses open instead of opendir on the received directory. Data and
      key directoryes are only opened here, so the seccomp rule added
      should be for open instead of opendir, despite the fact that they
      are directories.
      eab8e7af
  2. 20 Jul, 2020 1 commit
    • Jigsaw52's avatar
      Fix seccomp sandbox rules for opening directories #40020 · d28bfb2c
      Jigsaw52 authored
      Different versions of glibc use either open or openat for the
      opendir function. This commit adds logic to use the correct rule
      for each glibc version, namely:
      - Until 2.14 open is used
      - From 2.15 to to 2.21 openat is used
      - From 2.22 to 2.26 open is used
      - From 2.27 onwards openat is used
      d28bfb2c
  3. 14 May, 2019 1 commit
  4. 16 Jan, 2019 1 commit
  5. 18 Dec, 2018 1 commit
  6. 01 Oct, 2018 2 commits
  7. 27 Sep, 2018 3 commits
  8. 25 Sep, 2018 3 commits
  9. 22 Sep, 2018 1 commit
  10. 21 Sep, 2018 2 commits