)]}'
{
  "commit": "437f7fdb607f32b737e4da9f14bebcfdac2c90c3",
  "tree": "2064149ad4406774bd3b1ade60782980206f2e82",
  "parents": [
    "8c652f96d3852b97a49c331cd0bb02d22f3cb31b"
  ],
  "author": {
    "name": "Oleg Nesterov",
    "email": "oleg@redhat.com",
    "time": "Fri Apr 24 01:02:45 2009 +0200"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Apr 24 07:39:45 2009 -0700"
  },
  "message": "check_unsafe_exec: s/lock_task_sighand/rcu_read_lock/\n\nwrite_lock(\u0026current-\u003efs-\u003elock) guarantees we can\u0027t wrongly miss\nLSM_UNSAFE_SHARE, this is what we care about. Use rcu_read_lock()\ninstead of -\u003esiglock to iterate over the sub-threads. We must see\nall CLONE_THREAD|CLONE_FS threads which didn\u0027t pass exit_fs(), it\ntakes fs-\u003elock too.\n\nWith or without this patch we can miss the freshly cloned thread\nand set LSM_UNSAFE_SHARE, we don\u0027t care.\n\nSigned-off-by: Oleg Nesterov \u003coleg@redhat.com\u003e\nAcked-by: Roland McGrath \u003croland@redhat.com\u003e\n[ Fixed lock/unlock typo  - Hugh ]\nAcked-by: Hugh Dickins \u003chugh@veritas.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a2e6989dbc3a42ae3aae845592bcd2087cc57bc6",
      "old_mode": 33188,
      "old_path": "fs/exec.c",
      "new_id": "a3a8ce83940f1dfdfeb2430571f6dc19359e253f",
      "new_mode": 33188,
      "new_path": "fs/exec.c"
    }
  ]
}
