)]}'
{
  "commit": "61bce0f1371cfff497fe85594fd39d1a0b15ebe1",
  "tree": "97871c4148856e39ffcc8a6ffec89495018729f1",
  "parents": [
    "f9fb860f67b9542cd78d1558dec7058092b57d8e"
  ],
  "author": {
    "name": "Eric W. Biederman",
    "email": "ebiederm@xmission.com",
    "time": "Wed Jan 07 18:08:49 2009 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jan 08 08:31:12 2009 -0800"
  },
  "message": "pid: generalize task_active_pid_ns\n\nCurrently task_active_pid_ns is not safe to call after a task becomes a\nzombie and exit_task_namespaces is called, as nsproxy becomes NULL.  By\nreading the pid namespace from the pid of the task we can trivially solve\nthis problem at the cost of one extra memory read in what should be the\nsame cacheline as we read the namespace from.\n\nWhen moving things around I have made task_active_pid_ns out of line\nbecause keeping it in pid_namespace.h would require adding includes of\npid.h and sched.h that I don\u0027t think we want.\n\nThis change does make task_active_pid_ns unsafe to call during\ncopy_process until we attach a pid on the task_struct which seems to be a\nreasonable trade off.\n\nSigned-off-by: Eric W. Biederman \u003cebiederm@xmission.com\u003e\nSigned-off-by: Sukadev Bhattiprolu \u003csukadev@linux.vnet.ibm.com\u003e\nCc: Oleg Nesterov \u003coleg@redhat.com\u003e\nCc: Roland McGrath \u003croland@redhat.com\u003e\nCc: Bastian Blank \u003cbastian@waldi.eu.org\u003e\nCc: Pavel Emelyanov \u003cxemul@openvz.org\u003e\nCc: Nadia Derbey \u003cNadia.Derbey@bull.net\u003e\nAcked-by: Serge Hallyn \u003cserue@us.ibm.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": "d82fe825d62f9571fe6412700d854a326f5d8c4c",
      "old_mode": 33188,
      "old_path": "include/linux/pid_namespace.h",
      "new_id": "38d10326246afbbec371b5cddc2beaff37f1dd48",
      "new_mode": 33188,
      "new_path": "include/linux/pid_namespace.h"
    },
    {
      "type": "modify",
      "old_id": "7b8f2a78be3db0820c479cba2d83ea8f2562be46",
      "old_mode": 33188,
      "old_path": "kernel/fork.c",
      "new_id": "4018308048cf8f52db8202cf5969c14a919830d1",
      "new_mode": 33188,
      "new_path": "kernel/fork.c"
    },
    {
      "type": "modify",
      "old_id": "af9224cdd6c0f4bf00f206879df9a4dcf5254d2c",
      "old_mode": 33188,
      "old_path": "kernel/pid.c",
      "new_id": "1b3586fe753afc25a482f92e78b46483d90a369c",
      "new_mode": 33188,
      "new_path": "kernel/pid.c"
    }
  ]
}
