)]}'
{
  "commit": "df0892cbf854e76fae6e875043b05c194e37f52d",
  "tree": "6d2ff62cf209f0f5bcaad476715d14a3caf8d667",
  "parents": [
    "17ba830f4663816c3270860fad96373a833a3b26"
  ],
  "author": {
    "name": "Ian Lance Taylor",
    "email": "iant@golang.org",
    "time": "Mon Jun 12 22:36:03 2017 -0700"
  },
  "committer": {
    "name": "Ian Lance Taylor",
    "email": "iant@golang.org",
    "time": "Wed Jun 14 14:00:56 2017 +0000"
  },
  "message": "runtime, syscall: reset signal handlers to default in child\n\nBlock all signals during a fork. In the parent process, after the\nfork, restore the signal mask. In the child process, reset all\ncurrently handled signals to the default handler, and then restore the\nsignal mask.\n\nThe effect of this is that the child will be operating using the same\nsignal regime as the program it is about to exec, as exec resets all\nnon-ignored signals to the default, and preserves the signal mask.\n\nWe do this so that in the case of a signal sent to the process group,\nthe child process will not try to run a signal handler while in the\nprecarious state after a fork.\n\nFixes #18600.\n\nChange-Id: I9f39aaa3884035908d687ee323c975f349d5faaa\nReviewed-on: https://go-review.googlesource.com/45471\nRun-TryBot: Ian Lance Taylor \u003ciant@golang.org\u003e\nTryBot-Result: Gobot Gobot \u003cgobot@golang.org\u003e\nReviewed-by: Austin Clements \u003caustin@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "182c84b6392c661534049b574ccb7efa4487197f",
      "old_mode": 33188,
      "old_path": "src/runtime/crash_unix_test.go",
      "new_id": "fdb32670060ea8898d55ef4b497500bb949e8653",
      "new_mode": 33188,
      "new_path": "src/runtime/crash_unix_test.go"
    },
    {
      "type": "modify",
      "old_id": "ee632d981369d4900cb196f10d948137671ba087",
      "old_mode": 33188,
      "old_path": "src/runtime/os_nacl.go",
      "new_id": "18e6ce62324bdf9e452128cf955d81fcf8714b34",
      "new_mode": 33188,
      "new_path": "src/runtime/os_nacl.go"
    },
    {
      "type": "modify",
      "old_id": "ba2d5c55258e46dfd05742acd7656d7bfd0efc81",
      "old_mode": 33188,
      "old_path": "src/runtime/os_plan9.go",
      "new_id": "45e881aa416ae983baf9c2494e9349d55868102c",
      "new_mode": 33188,
      "new_path": "src/runtime/os_plan9.go"
    },
    {
      "type": "modify",
      "old_id": "3df3d28ed08e7aaac89cc70332ca1e4c54a4f7bb",
      "old_mode": 33188,
      "old_path": "src/runtime/os_windows.go",
      "new_id": "72b57ad7dc39e780aff62b610d1200080d31fd31",
      "new_mode": 33188,
      "new_path": "src/runtime/os_windows.go"
    },
    {
      "type": "modify",
      "old_id": "9e53716992082720cdc4f4e6c641fb7291815e68",
      "old_mode": 33188,
      "old_path": "src/runtime/proc.go",
      "new_id": "f6e07f8ec0c3e7d4fbbe96125e66ff8b07bf3e0a",
      "new_mode": 33188,
      "new_path": "src/runtime/proc.go"
    },
    {
      "type": "modify",
      "old_id": "e0ea724f97a2401d91894182e5d9c96ad5f953c7",
      "old_mode": 33188,
      "old_path": "src/runtime/signal_unix.go",
      "new_id": "539b165ba1c6cd458c06841e631482af9b3e0a26",
      "new_mode": 33188,
      "new_path": "src/runtime/signal_unix.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4a988ef6c1da2441b810cb3f526956fa2e71ef5d",
      "new_mode": 33188,
      "new_path": "src/runtime/testdata/testprognet/signalexec.go"
    },
    {
      "type": "modify",
      "old_id": "730b63d1e5696633816af8b5022c23794b0648b2",
      "old_mode": 33188,
      "old_path": "src/syscall/exec_bsd.go",
      "new_id": "17ca6f06cf1f5af69dcdef59b113a29066b53271",
      "new_mode": 33188,
      "new_path": "src/syscall/exec_bsd.go"
    },
    {
      "type": "modify",
      "old_id": "5f53eaaa36919cc54470a0e0caf89ffb81960e75",
      "old_mode": 33188,
      "old_path": "src/syscall/exec_linux.go",
      "new_id": "e631cd647001202a124cd08772904f9223400fe4",
      "new_mode": 33188,
      "new_path": "src/syscall/exec_linux.go"
    },
    {
      "type": "modify",
      "old_id": "abeed56b13659ac06ca5cea2105c8878e0515dae",
      "old_mode": 33188,
      "old_path": "src/syscall/exec_solaris.go",
      "new_id": "448207ee1b62c508b72838104f16b402053668f6",
      "new_mode": 33188,
      "new_path": "src/syscall/exec_solaris.go"
    }
  ]
}
