1. 12 Oct, 2020 4 commits
  2. 11 Oct, 2020 2 commits
  3. 09 Oct, 2020 3 commits
    • Harald Sitter's avatar
      make O_PATH optional-ish · cab4513c
      Harald Sitter authored
      on ancient linuxes we don't have access to it. more importantly freebsd
      has nothing like it at all. use readonly in these cases
      cab4513c
    • Harald Sitter's avatar
      add missing include for freebsd · 352a805b
      Harald Sitter authored
      errno is implicitly pulled in on linux
      352a805b
    • Harald Sitter's avatar
      pass device names to the helper · 493cadb0
      Harald Sitter authored
      paths are somewhat trivial to exploit. instead resolve them to the
      actual block device names under /dev/ and pass that into the privileged
      helper. the helper then only needs to verify that $name is in fact a
      block device under /dev/.
      since unprivileged processes cannot create files in /dev/ directly, let
      alone block devices, this should give us a very reliable way of
      preventing abuse.
      493cadb0
  4. 08 Oct, 2020 1 commit
  5. 05 Oct, 2020 3 commits
    • Harald Sitter's avatar
      add request queuing to kauth smartctl · e81c574b
      Harald Sitter authored
      kauth does not actually support making multiple requests at the same
      time.
      this effectively caused multiple devices to get the same reply blob
      based on which device gets requested first, rendering the data largely
      useless as they'd all reflect the state of a single device.
      
      since the kauth test is a bit rubbish to test data consistency is now
      asserted in the monitor
      
      ```
      e.g.
      ::run(/dev/nvme0n1) -> job0
      ::run(/dev/sda) -> job1
      
      |
      kauth makes single request to action
      |
      v
      
      helper(/dev/nvme0n1)
         			--> returns blob0
      
      |
      kauth returns all jobs for that action
      |
      v
      
      job0 -> result(blob0)
      job1 -> result(blob0)
      ```
      
      
      (cherry picked from commit 325018e2)
      e81c574b
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · b3496b26
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
      b3496b26
    • Script Kiddy's avatar
      GIT_SILENT made messages (after extraction) · b7ae0740
      Script Kiddy authored
      b7ae0740
  6. 04 Oct, 2020 2 commits
  7. 30 Sep, 2020 2 commits
  8. 28 Sep, 2020 1 commit
  9. 17 Sep, 2020 5 commits
  10. 12 Sep, 2020 1 commit
  11. 11 Sep, 2020 1 commit
    • Harald Sitter's avatar
      fix up spdx mess from yesterday · 0c7f3364
      Harald Sitter authored
      - fix up the dbus files to a) have xml preambles, and b) put the spdx
      comment after
      - drop excess xml file that doesn't actually belong here + code
      - add copyrighttext to all files and label it 'none' where the files are
      data dumps (json dumps, xml introspection dumps)
      
      this unbreaks the build AND
      Congratulations! Your project is compliant with version 3.0 of the REUSE
      Specification :-)
      0c7f3364
  12. 10 Sep, 2020 3 commits
  13. 08 Sep, 2020 1 commit
  14. 07 Sep, 2020 2 commits
  15. 06 Sep, 2020 2 commits
  16. 05 Sep, 2020 1 commit
  17. 04 Sep, 2020 1 commit
  18. 02 Sep, 2020 1 commit
  19. 01 Sep, 2020 1 commit
  20. 31 Aug, 2020 1 commit
  21. 30 Aug, 2020 1 commit
  22. 28 Aug, 2020 1 commit