)]}'
{
  "commit": "5ab8271899658042fabc5ae7e6a99066a210bc0e",
  "tree": "6961d8faa53d7e2f535d14acc3bb8536a268fb8d",
  "parents": [
    "e4b4e441323b7988a344f88d7ee3f8fcb17db048"
  ],
  "author": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu May 17 15:17:33 2018 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu May 17 15:35:02 2018 -0700"
  },
  "message": "fs/proc: simplify and clarify get_mm_cmdline() function\n\nWe have some very odd semantics for reading the command line through\n/proc, because we allow people to rewrite their own command line pretty\nmuch at will, and things get positively funky when you extend your\ncommand line past the point that used to be the end of the command line,\nand is now in the environment variable area.\n\nBut our weird semantics doesn\u0027t mean that we should write weird and\ncomplex code to handle them.\n\nSo re-write get_mm_cmdline() to be much simpler, and much more explicit\nabout what it is actually doing and why.  And avoid the extra check for\n\"is there a NUL character at the end of the command line where I expect\none to be\", by simply making the NUL character handling be part of the\nnormal \"once you hit the end of the command line, stop at the first NUL\ncharacter\" logic.\n\nIt\u0027s quite possible that we should stop the crazy \"walk into\nenvironment\" entirely, but happily it\u0027s not really the usual case.\n\nNOTE! We tried to really simplify and limit our odd cmdline parsing some\ntime ago, but people complained.  See commit c2c0bb44620d (\"proc: fix\nPAGE_SIZE limit of /proc/$PID/cmdline\") for details about why we have\nthis complexity.\n\nCc: Tejun Heo \u003ctj@kernel.org\u003e\nCc: Alexey Dobriyan \u003cadobriyan@gmail.com\u003e\nCc: Jarod Wilson \u003cjarod@redhat.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c4d963a121626fc9a550cb28ba03b6a9cb402308",
      "old_mode": 33188,
      "old_path": "fs/proc/base.c",
      "new_id": "2665bbbb4cca82c2c0f1e56e5b0d6a59d3cf67f3",
      "new_mode": 33188,
      "new_path": "fs/proc/base.c"
    }
  ]
}
