)]}'
{
  "commit": "4b9d33e6d83cc05a8005a8f9a8b9677fa0f53626",
  "tree": "250b740d22f9604326ecfd769dd2f74d60187a19",
  "parents": [
    "a288eecce5253cc1565d400a52b9b476a157e040"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Fri Jun 17 16:50:38 2011 +0200"
  },
  "committer": {
    "name": "Oleg Nesterov",
    "email": "oleg@redhat.com",
    "time": "Wed Jun 22 19:26:29 2011 +0200"
  },
  "message": "ptrace: kill clone/exec tracehooks\n\nAt this point, tracehooks aren\u0027t useful to mainline kernel and mostly\njust add an extra layer of obfuscation.  Although they have comments,\nwithout actual in-kernel users, it is difficult to tell what are their\nassumptions and they\u0027re actually trying to achieve.  To mainline\nkernel, they just aren\u0027t worth keeping around.\n\nThis patch kills the following clone and exec related tracehooks.\n\n\ttracehook_prepare_clone()\n\ttracehook_finish_clone()\n\ttracehook_report_clone()\n\ttracehook_report_clone_complete()\n\ttracehook_unsafe_exec()\n\nThe changes are mostly trivial - logic is moved to the caller and\ncomments are merged and adjusted appropriately.\n\nThe only exception is in check_unsafe_exec() where LSM_UNSAFE_PTRACE*\nare OR\u0027d to bprm-\u003eunsafe instead of setting it, which produces the\nsame result as the field is always zero on entry.  It also tests\np-\u003eptrace instead of (p-\u003eptrace \u0026 PT_PTRACED) for consistency, which\nalso gives the same result.\n\nThis doesn\u0027t introduce any behavior change.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nCc: Christoph Hellwig \u003chch@infradead.org\u003e\nSigned-off-by: Oleg Nesterov \u003coleg@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b37030d0a50bab84fbc879d40396fc7b5c08e9b7",
      "old_mode": 33188,
      "old_path": "fs/exec.c",
      "new_id": "8dca45b0dae8f5a1df3d633b90997af2cbbc4088",
      "new_mode": 33188,
      "new_path": "fs/exec.c"
    },
    {
      "type": "modify",
      "old_id": "8b06d4f2b814bd98a39ed407d0819739b830c31e",
      "old_mode": 33188,
      "old_path": "include/linux/tracehook.h",
      "new_id": "bcc4ca762aee55cb0a966465895e76d0c9de4c9c",
      "new_mode": 33188,
      "new_path": "include/linux/tracehook.h"
    },
    {
      "type": "modify",
      "old_id": "d4f0dff9d617fdf011ec435f0c15079ad53e49bb",
      "old_mode": 33188,
      "old_path": "kernel/fork.c",
      "new_id": "3c72a5b321a7cbeb4dbfe1f515002fd7a13e7e27",
      "new_mode": 33188,
      "new_path": "kernel/fork.c"
    }
  ]
}
