1. 06 Jan, 2020 22 commits
  2. 05 Jan, 2020 18 commits
    • intrigeri's avatar
      Merge remote-tracking branch 'origin/master' · 5f76dbc1
      intrigeri authored
      5f76dbc1
    • intrigeri's avatar
      def9f8f5
    • intrigeri's avatar
      Tor Browser update doc: also import the tarball with all langpacks (refs: #17400) · 95271960
      intrigeri authored
      My goal here is to ensure I import said tarball for 9.0.3 into our Tor Browser
      archive tomorrow. This will make it easier to work on #17400 later.
      95271960
    • Tails translators's avatar
      merge with main git using update_weblate_git.py. · e4ffe5f0
      Tails translators authored
      wiki/src/doc/first_steps/persistence/copy.ar.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/doc/first_steps/persistence/copy.ca.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/doc/first_steps/persistence/copy.id.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/doc/first_steps/persistence/copy.pl.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/doc/first_steps/persistence/copy.ru.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/doc/first_steps/persistence/copy.sr_Latn.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/doc/first_steps/persistence/copy.tr.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/doc/first_steps/persistence/copy.zh.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/doc/first_steps/persistence/copy.zh_TW.po: updating as wiki/src/doc/first_steps/persistence/copy.de.po has changed.
      wiki/src/install/expert/usb.ar.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.ca.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.id.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.pl.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.ru.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.sr_Latn.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.tr.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.zh.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.zh_TW.po: updating as wiki/src/install/expert/usb.de.po has changed.
      e4ffe5f0
    • IkiWiki's avatar
      updated PO files · 72a11e14
      IkiWiki authored
      72a11e14
    • sajolida's avatar
      Merge remote-tracking branch 'origin/master' · 2450bdc2
      sajolida authored
      2450bdc2
    • sajolida's avatar
      Apply cc810ccb to the 3rd variant · c43c832a
      sajolida authored
      c43c832a
    • intrigeri's avatar
      Memory erasure design doc: mention init_on_free=1 (refs: #17236) · 68599b99
      intrigeri authored and segfault's avatar segfault committed
      68599b99
    • intrigeri's avatar
      Zero heap memory at allocation time and at free time (refs: #17236) · 360a8abc
      intrigeri authored and segfault's avatar segfault committed
      These options are "aimed at preventing possible information leaks and making the
      control-flow bugs that depend on uninitialized values more deterministic"¹.
      All kmalloc()s effectively become kzalloc()s and all kfree()s effectively become
      kzfree()s².
      
      In passing, apart of the defense-in-depth security benefits intended by the
      authors of this Linux feature, init_on_free=1 may ensure we clean more kernel
      memory at shutdown time.
      
      Benchmarks show:
      
      * a negligible performance hit with init_on_alloc=1
      * a 7-25% performance hit with init_on_free=1
      
      Let's see if/how this affects our use cases.
      
      [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6471384af2a6530696fc0203bafe4de41a23c9ef
      [2] https://outflux.net/blog/archives/2019/11/14/security-things-in-linux-v5-3/
      360a8abc
    • intrigeri's avatar
      55793bf7
    • intrigeri's avatar
      Upgrader dev doc: re-add explanations (refs: #17398) · 8414a51b
      intrigeri authored
      I removed them in 7727622d
      but segfault rightfully observed that they can be helpful.
      8414a51b
    • intrigeri's avatar
      0e8594a6
    • sajolida's avatar
    • segfault's avatar
      fix typo · e53d9dda
      segfault authored and intrigeri's avatar intrigeri committed
      e53d9dda
    • segfault's avatar
      Minor improvements / nitpicking · aaf6e9a0
      segfault authored and intrigeri's avatar intrigeri committed
      - Use argparse's "required" parameter instead of checking if the
        argument is None.
      - Drop stream parameter from logging.basicConfig because sys.stderr is used by
        default.
      - Don't catch exceptions only for printing them to stderr and exiting
        with exit code 1, because that is exactly what happens if an exception
        is not caught.
      - Don't use sys.exit(main()) with a main function that doesn't return
        anything.
      
      Clarification wrt. "Don't catch exceptions only for printing them […]": the
      behavior _is_ different in that before this commit, we would hide the resulting
      stacktrace. But there's no situation in which we expect main() to raise an
      exception here, so IMO hiding exceptions was a bug. Thank you for fixing
      it :) -- intrigeri
      aaf6e9a0
    • Tails translators's avatar
      merge with main git using update_weblate_git.py. · 8ef9441e
      Tails translators authored
      wiki/src/install/expert/usb.ar.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.ca.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.id.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.pl.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.ru.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.sr_Latn.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.tr.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.zh.po: updating as wiki/src/install/expert/usb.de.po has changed.
      wiki/src/install/expert/usb.zh_TW.po: updating as wiki/src/install/expert/usb.de.po has changed.
      8ef9441e
    • IkiWiki's avatar
      updated PO files · d36f8082
      IkiWiki authored
      d36f8082
    • sajolida's avatar