Skip to content
Snippets Groups Projects
  1. Jun 09, 2016
  2. May 30, 2016
  3. May 04, 2016
  4. Mar 11, 2016
    • Nathan Zadoks's avatar
      Handle ARM triples without an endianness suffix · c6beaf57
      Nathan Zadoks authored
      Alpine seems to use this, and it results in a wrong
      builtins.currentSystem. Big-endian ARM systems have triples starting
      with armv6eb- or armv7eb-, so this doesn't change any systems that
      already worked.
      c6beaf57
  5. Mar 03, 2016
  6. Jan 12, 2016
  7. Jan 05, 2016
  8. Dec 10, 2015
  9. Nov 07, 2015
  10. Nov 04, 2015
  11. Oct 30, 2015
  12. Oct 21, 2015
  13. Mar 27, 2015
  14. Feb 16, 2015
    • Harald van Dijk's avatar
      Use pivot_root in addition to chroot when possible · 5451b8db
      Harald van Dijk authored
      chroot only changes the process root directory, not the mount namespace root
      directory, and it is well-known that any process with chroot capability can
      break out of a chroot "jail". By using pivot_root as well, and unmounting the
      original mount namespace root directory, breaking out becomes impossible.
      
      Non-root processes typically have no ability to use chroot() anyway, but they
      can gain that capability through the use of clone() or unshare(). For security
      reasons, these syscalls are limited in functionality when used inside a normal
      chroot environment. Using pivot_root() this way does allow those syscalls to be
      put to their full use.
      5451b8db
  15. Feb 10, 2015
  16. Feb 04, 2015
    • Eelco Dolstra's avatar
      Use libsodium instead of OpenSSL for binary cache signing · e0def5bc
      Eelco Dolstra authored
      Sodium's Ed25519 signatures are much shorter than OpenSSL's RSA
      signatures. Public keys are also much shorter, so they're now
      specified directly in the nix.conf option ‘binary-cache-public-keys’.
      
      The new command ‘nix-store --generate-binary-cache-key’ generates and
      prints a public and secret key.
      e0def5bc
  17. Nov 25, 2014
  18. Sep 22, 2014
  19. Sep 17, 2014
  20. Jul 10, 2014
  21. May 26, 2014
  22. Feb 01, 2014
  23. Jan 21, 2014
  24. Jan 09, 2014
  25. Nov 25, 2013
  26. Nov 22, 2013
  27. Nov 14, 2013
  28. Aug 19, 2013
  29. Aug 07, 2013
    • Eelco Dolstra's avatar
      Run the daemon worker on the same CPU as the client · a583a2bc
      Eelco Dolstra authored
      On a system with multiple CPUs, running Nix operations through the
      daemon is significantly slower than "direct" mode:
      
      $ NIX_REMOTE= nix-instantiate '<nixos>' -A system
      real    0m0.974s
      user    0m0.875s
      sys     0m0.088s
      
      $ NIX_REMOTE=daemon nix-instantiate '<nixos>' -A system
      real    0m2.118s
      user    0m1.463s
      sys     0m0.218s
      
      The main reason seems to be that the client and the worker get moved
      to a different CPU after every call to the worker.  This patch adds a
      hack to lock them to the same CPU.  With this, the overhead of going
      through the daemon is very small:
      
      $ NIX_REMOTE=daemon nix-instantiate '<nixos>' -A system
      real    0m1.074s
      user    0m0.809s
      sys     0m0.098s
      a583a2bc
  30. Aug 06, 2013
  31. Jul 12, 2013
  32. Mar 25, 2013
Loading