)]}'
{
  "commit": "9108f6299c8ff3ab731052dfbee245fa4981988b",
  "tree": "b1a2ce7da9fd2df7c908ffd9b41540421af78e8c",
  "parents": [
    "d30061591beeb91a68cc47bd3f1fe735724986a6"
  ],
  "author": {
    "name": "jmmv",
    "email": "jmmv@google.com",
    "time": "Mon Mar 09 08:27:32 2020 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Mar 09 08:28:43 2020 -0700"
  },
  "message": "Add sandboxfs support to the processwrapper-sandbox spawn runner.\n\nThe lack of this is an overlook from when I first added sandboxfs support\nto the linux-sandbox and darwin-sandbox spawn runners.  I noticed this\nby chance when doing some sandboxfs work on a Debian VM, where namespaces\nare not allowed for unprivileged users.  I saw that my builds were using\nthe processwrapper-sandbox, not the linux-sandbox, and that they were not\nusing sandboxfs.\n\nI know that this comes with no tests.  There currently are not tests to\nvalidate a real build with sandboxfs enabled.  If there were, these tests\nshould verify the behavior with the platform-specific spawn runner and\nnow also with the more generic processwrapper-sandbox.  However, adding\nthese tests is pretty complicated and their benefit would be pretty low\nat this point (because sandboxfs is not present in Bazel CI so we would\nnot run them automatically).  I\u0027ll work on these later if we decide to\nmake further progress on this feature.\n\nRELNOTES: None.\nPiperOrigin-RevId: 299846783\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7da26c92b54eccd900aa34d5b3b9a86d761c479e",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/sandbox/ProcessWrapperSandboxedSpawnRunner.java",
      "new_id": "6a743b1be6b047f2028ecbcdf31729da8d7cd43b",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/sandbox/ProcessWrapperSandboxedSpawnRunner.java"
    },
    {
      "type": "modify",
      "old_id": "878b4c7592d94753b2fa146982b0b0c2b5d4767e",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/sandbox/SandboxModule.java",
      "new_id": "10ae6343f854d3d0c0e9a43264f14f52d79ee845",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/sandbox/SandboxModule.java"
    }
  ]
}
