)]}'
{
  "commit": "d23e6c00df3118774ba64603da957683407326df",
  "tree": "b32bcd8c5da149c5b8d65410da058b41759d6e66",
  "parents": [
    "0288b8764e518dfd6527aaea9b5325ba14e109bc"
  ],
  "author": {
    "name": "Oleksandr Tymoshenko",
    "email": "ovt@google.com",
    "time": "Fri Jul 14 01:06:18 2023 +0000"
  },
  "committer": {
    "name": "COS Cherry Picker",
    "email": "cloud-image-release@prod.google.com",
    "time": "Sat May 18 02:05:45 2024 -0700"
  },
  "message": "lakitu_defconfig: make /proc/self/mem read-write\n\nThe behavior was inherited from ChromeOS change (see [1], [2]). The\nChromeOS deicion to make the file read-only was based on the following\nassumptions:\n - There is no valid use case for the process to write to the /dev/self/mem\n - The ptrace API that can be used to circumvent the limitation\n   also could be disabled system-wide because there was\n\nThese assumptions are not true for COS, since debugging is a valid use\ncase and therefor ptrace can\u0027t be disabled. Which removes a large share\nof the value of having /dev/self/mem read-only.\n\nIn addition to this recent versions of gdb stopped working on COS\nbecause gdb switched from using ptrace to directly modifying process\nmemory through the mem file. This is a significant user experience\nregression.\n\nSince there are more cons than pros to keeping the ChromeOS behavior\nenabled, this commit reverts the access mode to default (r/w).\n\n[1] https://bugs.chromium.org/p/chromium/issues/detail?id\u003d781376\n[2] https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/753406\n\nBUG\u003db/337870673\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dnone\n\ncos-patch: bug\nSigned-off-by: Oleksandr Tymoshenko \u003covt@google.com\u003e\nChange-Id: I8ddc7ed04ee5b26e0b6d43a3f790854d226f23d5\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/71772\nMain-Branch-Verified: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Kevin Berry \u003ckpberry@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f9074cf00b1b0b2e7e5c203f14455fcfc89b3bd3",
      "old_mode": 33188,
      "old_path": "arch/arm64/configs/lakitu_defconfig",
      "new_id": "e1a387467781c84ec242f5e2ffd23993373238e3",
      "new_mode": 33188,
      "new_path": "arch/arm64/configs/lakitu_defconfig"
    },
    {
      "type": "modify",
      "old_id": "18a5c3dd96b1accee694d2a7de8e50e4400c283b",
      "old_mode": 33188,
      "old_path": "arch/x86/configs/lakitu_defconfig",
      "new_id": "ca34e593d020a7903680bed4b15d5f73eaa33d7d",
      "new_mode": 33188,
      "new_path": "arch/x86/configs/lakitu_defconfig"
    }
  ]
}
