)]}'
{
  "commit": "f496c0c37bed11464c38a6e1d89557891dbdde9f",
  "tree": "ef9f5989e9bd733bdbd28394c581c23866512e4a",
  "parents": [
    "e77a5b0e10f983ee052af5ca49fcb1184e819db9"
  ],
  "author": {
    "name": "Oleksandr Tymoshenko",
    "email": "ovt@google.com",
    "time": "Fri Jul 14 01:06:18 2023 +0000"
  },
  "committer": {
    "name": "Oleksandr Tymoshenko",
    "email": "ovt@google.com",
    "time": "Fri Jul 28 22:10:01 2023 +0000"
  },
  "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/285213716\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dnone\n\nChange-Id: I8ddc7ed04ee5b26e0b6d43a3f790854d226f23d5\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/52034\nReviewed-by: Robert Kolchmeyer \u003crkolchmeyer@google.com\u003e\nTested-by: Oleksandr Tymoshenko \u003covt@google.com\u003e\nReviewed-by: Vaibhav Rustagi \u003cvaibhavrustagi@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ab084be2d2c9a5b90652d29624b10abd14aad675",
      "old_mode": 33188,
      "old_path": "arch/arm64/configs/lakitu_defconfig",
      "new_id": "ebcd908f3e917e96d01be6a37542cf811c023e6c",
      "new_mode": 33188,
      "new_path": "arch/arm64/configs/lakitu_defconfig"
    },
    {
      "type": "modify",
      "old_id": "20089300b0416761f6eb7d724e1198c74d984c3e",
      "old_mode": 33188,
      "old_path": "arch/x86/configs/lakitu_defconfig",
      "new_id": "b57eae6e99a374ff82208b2b6f28475913fb2b0a",
      "new_mode": 33188,
      "new_path": "arch/x86/configs/lakitu_defconfig"
    }
  ]
}
