)]}'
{
  "commit": "fae5fa44f1fd079ffbed8e0add929dd7bbd1347f",
  "tree": "8990ac958d29733cb61733ae69265472f5e1d13c",
  "parents": [
    "193191035ad6268db9f561e81e3474b8be89a5ba"
  ],
  "author": {
    "name": "Oleg Nesterov",
    "email": "oleg@tv-sign.ru",
    "time": "Wed Apr 30 00:53:03 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Apr 30 08:29:37 2008 -0700"
  },
  "message": "signals: fix /sbin/init protection from unwanted signals\n\nThe global init has a lot of long standing problems with the unhandled fatal\nsignals.\n\n\t- The \"is_global_init(current)\" check in get_signal_to_deliver()\n\t  protects only the main thread. Sub-thread can dequee the fatal\n\t  signal and shutdown the whole thread group except the main thread.\n\t  If it dequeues SIGSTOP /sbin/init will be stopped, this is not\n\t  right too. Note that we can\u0027t use is_global_init(-\u003egroup_leader),\n\t  this breaks exec and this can\u0027t solve other problems we have.\n\n\t- Even if afterwards ignored, the fatal signals sets SIGNAL_GROUP_EXIT\n\t  on delivery. This breaks exec, has other bad implications, and this\n\t  is just wrong.\n\nIntroduce the new SIGNAL_UNKILLABLE flag to fix these problems.  It also helps\nto solve some other problems addressed by the subsequent patches.\n\nCurrently we use this flag for the global init only, but it could also be used\nby kthreads and (perhaps) by the sub-namespace inits.\n\nSigned-off-by: Oleg Nesterov \u003coleg@tv-sign.ru\u003e\nAcked-by: \"Eric W. Biederman\" \u003cebiederm@xmission.com\u003e\nCc: Roland McGrath \u003croland@redhat.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0917b3df12d53846abc78503cadaa25aae1a0422",
      "old_mode": 33188,
      "old_path": "include/linux/sched.h",
      "new_id": "fe970cdca83cd793c6fee600982e15661077a64d",
      "new_mode": 33188,
      "new_path": "include/linux/sched.h"
    },
    {
      "type": "modify",
      "old_id": "624266b524d41e98c7012a2b2b84d4793744970b",
      "old_mode": 33188,
      "old_path": "init/main.c",
      "new_id": "1f4406477f83b88831389fd364a0acfdf50aa14e",
      "new_mode": 33188,
      "new_path": "init/main.c"
    },
    {
      "type": "modify",
      "old_id": "02ef3548aeb086b22b49b3cfa4d68819a9a1d5b5",
      "old_mode": 33188,
      "old_path": "kernel/signal.c",
      "new_id": "646a8765696a1ea444c301569dfd67e195da60cd",
      "new_mode": 33188,
      "new_path": "kernel/signal.c"
    }
  ]
}
