Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
base: 5886bc599653
Choose a base ref
...
head repository: NixOS/nix
compare: 86f3b94c8c28
Choose a head ref
  • 15 commits
  • 9 files changed
  • 3 contributors

Commits on Mar 9, 2019

  1. detail memory roots

    layus committed Mar 9, 2019
    Copy the full SHA
    43331d6 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a17f86c View commit details
    Browse the repository at this point in the history
  3. Make roots a map of store paths to pinning links

    This new structure makes more sense as there may be many sources rooting
    the same store path. Many profiles can reference the same path but this
    is even more true with /proc/<pid>/maps where distinct pids can and
    often do map the same store path.
    This implementation is also more efficient as the `Roots` map contains
    only one entry per rooted store path.
    layus committed Mar 9, 2019
    Copy the full SHA
    ebc8655 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8574b70 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    fc02b1b View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    5c56570 View commit details
    Browse the repository at this point in the history
  7. require c++ 17

    This fixes warnings about "structured binding declaration" requiring
    "-std=c++1z".
    layus committed Mar 9, 2019
    Copy the full SHA
    9d87e3f View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    9d72211 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    38ee16a View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    4f43911 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2019

  1. Copy the full SHA
    115e2c8 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2019

  1. findRuntimeRoots: Simplify/fix handling of /proc files

    Scanning of /proc/<pid>/{exe,cwd} was broken because '{memory:' was
    prepended twice. Also, get rid of the whole '{memory:...}' thing
    because it's unnecessary, we can just list the file in /proc directly.
    edolstra committed Mar 14, 2019
    Copy the full SHA
    a3f37d8 View commit details
    Browse the repository at this point in the history
  2. findRoots(): Add 'censor' parameter

    This is less brittle than filtering paths after the fact in
    nix-daemon.
    edolstra committed Mar 14, 2019
    Copy the full SHA
    53522cb View commit details
    Browse the repository at this point in the history
  3. findRoots(): Don't censor for trusted users

    They're pretty much root anyway.
    edolstra committed Mar 14, 2019
    Copy the full SHA
    578ed7a View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    86f3b94 View commit details
    Browse the repository at this point in the history