)]}'
{
  "commit": "c672af35d54992b88d3c48133bd62cc3386fb2f9",
  "tree": "32232508b7f736d066a4b4e2acfbb9812f9b383f",
  "parents": [
    "6447f55da90b77faec1697d499ed7986bb4f6de6"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Wed Mar 23 10:36:59 2011 +0100"
  },
  "committer": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Wed Mar 23 10:36:59 2011 +0100"
  },
  "message": "signal: Fix SIGCONT notification code\n\nAfter a task receives SIGCONT, its parent is notified via SIGCHLD with\nits siginfo describing what the notified event is.  If SIGCONT is\nreceived while the child process is stopped, the code should be\nCLD_CONTINUED.  If SIGCONT is recieved while the child process is in\nthe process of being stopped, it should be CLD_STOPPED.  Which code to\nuse is determined in prepare_signal() and recorded in signal-\u003eflags\nusing SIGNAL_CLD_CONTINUED|STOP flags.\n\nget_signal_deliver() should test these flags and then notify\naccoringly; however, it incorrectly tested SIGNAL_STOP_CONTINUED\ninstead of SIGNAL_CLD_CONTINUED, thus incorrectly notifying\nCLD_CONTINUED if the signal is delivered before the task is wait(2)ed\nand CLD_STOPPED if the state was fetched already.\n\nFix it by testing SIGNAL_CLD_CONTINUED.  While at it, uncompress the\n?: test into if/else clause for better readability.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nReviewed-by: Oleg Nesterov \u003coleg@redhat.com\u003e\nAcked-by: Roland McGrath \u003croland@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "31751868de8856cbe4ee909ef09915e6a9a9c679",
      "old_mode": 33188,
      "old_path": "kernel/signal.c",
      "new_id": "e26274abf3a9f8ca80f4307e8666f5a1227e20b3",
      "new_mode": 33188,
      "new_path": "kernel/signal.c"
    }
  ]
}
