)]}'
{
  "commit": "90c8f94a055257f9ab343137cbada4e658750fbb",
  "tree": "3a7de46ab2518439f108a97d6010ddb55c25c4cc",
  "parents": [
    "4e121b1efb52d0ccc0c89c55272b7c3da9a475f8"
  ],
  "author": {
    "name": "Bryan C. Mills",
    "email": "bcmills@google.com",
    "time": "Mon Feb 06 11:48:46 2023 -0500"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Feb 07 00:05:19 2023 +0000"
  },
  "message": "unix: avoid converting non-pointers to unsafe.Pointer in PtraceIO\n\nDespite having the misleading type \"void*\" in the C API, the \"offs\"\nfield of the ptrace_io_desc struct is an offset within the child\nprocess, and thus is not necessarily a valid pointer at all in the\nparent process. The Go unsafe.Pointer type must refer only to valid\npointers, so converting this field through unsafe.Pointer is incorrect\nand (in some cases) dangerous.\n\nWhile we\u0027re here, let\u0027s also rename the \"addr\" function argument to\n\"offs\", since that\u0027s the corresponding ptrace_io_desc field. It\u0027s very\nconfusing to have a function argument named \"attr\" that doesn\u0027t map to\nthe struct field of the same name!\n\nFor golang/go#58351.\n\nChange-Id: Id899f823e8d398b51fb0c42f466d7ae2f957c26b\nReviewed-on: https://go-review.googlesource.com/c/sys/+/465675\nRun-TryBot: Bryan Mills \u003cbcmills@google.com\u003e\nAuto-Submit: Bryan Mills \u003cbcmills@google.com\u003e\nTryBot-Result: Gopher Robot \u003cgobot@golang.org\u003e\nReviewed-by: Ian Lance Taylor \u003ciant@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b11ede89a960c1b27c3a2d4aaf081e44ea33c746",
      "old_mode": 33188,
      "old_path": "unix/syscall_freebsd_386.go",
      "new_id": "6a91d471d09caba401312983180289893a9b3fae",
      "new_mode": 33188,
      "new_path": "unix/syscall_freebsd_386.go"
    },
    {
      "type": "modify",
      "old_id": "9ed8eec6c287f121b7e1522c938d69e643ae3b59",
      "old_mode": 33188,
      "old_path": "unix/syscall_freebsd_amd64.go",
      "new_id": "48110a0abb924e8171d5493948fd46bfdc260f0c",
      "new_mode": 33188,
      "new_path": "unix/syscall_freebsd_amd64.go"
    },
    {
      "type": "modify",
      "old_id": "f8ac9824790580bb6828f0e09bef15240a0ed9ca",
      "old_mode": 33188,
      "old_path": "unix/syscall_freebsd_arm.go",
      "new_id": "52f1d4b75a35015813ab2baf0b166b40f050264e",
      "new_mode": 33188,
      "new_path": "unix/syscall_freebsd_arm.go"
    },
    {
      "type": "modify",
      "old_id": "8e932036ec377431ec4dab91115db65ac4b496da",
      "old_mode": 33188,
      "old_path": "unix/syscall_freebsd_arm64.go",
      "new_id": "5537ee4f2ede6c5a66083c0f565fa412f632d2b3",
      "new_mode": 33188,
      "new_path": "unix/syscall_freebsd_arm64.go"
    },
    {
      "type": "modify",
      "old_id": "cbe12227896b05e9a2cd7cf9304f23fba9a00b7d",
      "old_mode": 33188,
      "old_path": "unix/syscall_freebsd_riscv64.go",
      "new_id": "164abd5d2152ab35d876499e144bc41cc905d571",
      "new_mode": 33188,
      "new_path": "unix/syscall_freebsd_riscv64.go"
    }
  ]
}
