)]}'
{
  "log": [
    {
      "commit": "2e16341438c9eca15a2e0bb2ad8555bbdf24b86d",
      "tree": "af1b5c2a20ceeef6624e531ae49a92b13b2f46a9",
      "parents": [
        "01464a60a4d21fb649e088f7ae5136c6fb130889"
      ],
      "author": {
        "name": "Julia Lawall",
        "email": "julia@diku.dk",
        "time": "Fri Dec 23 18:39:29 2011 +0100"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Tue Jan 03 13:39:04 2012 -0500"
      },
      "message": "xen-gntalloc: introduce missing kfree\n\nError handling code following a kmalloc should free the allocated data.\nOut_unlock is used on both success and failure, so free vm_priv before\njumping to that label.\n\nA simplified version of the semantic match that finds the problem is as\nfollows: (http://coccinelle.lip6.fr)\n\n// \u003csmpl\u003e\n@r exists@\nlocal idexpression x;\nstatement S;\nidentifier f1;\nposition p1,p2;\nexpression *ptr !\u003d NULL;\n@@\n\nx@p1 \u003d \\(kmalloc\\|kzalloc\\|kcalloc\\)(...);\n...\nif (x \u003d\u003d NULL) S\n\u003c... when !\u003d x\n     when !\u003d if (...) { \u003c+...x...+\u003e }\nx-\u003ef1\n...\u003e\n(\n return \\(0\\|\u003c+...x...+\u003e\\|ptr\\);\n|\n return@p2 ...;\n)\n\n@script:python@\np1 \u003c\u003c r.p1;\np2 \u003c\u003c r.p2;\n@@\n\nprint \"* file: %s kmalloc %s return %s\" % (p1[0].file,p1[0].line,p2[0].line)\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cjulia@diku.dk\u003e\n[v1: Altered the description a bit]\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    },
    {
      "commit": "cb85f123cd2393581bcffad335bfc6bcdd58569c",
      "tree": "7b0de48b2a13ca96251c02245ab906f7efa3ac18",
      "parents": [
        "b79d2ff98caee60c07a7598aba3b26acd1655a99",
        "caca6a03d365883564885f2c1da3e88dcf65d139"
      ],
      "author": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Tue Dec 20 17:01:18 2011 -0500"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Tue Dec 20 17:01:18 2011 -0500"
      },
      "message": "Merge commit \u0027v3.2-rc3\u0027 into stable/for-linus-3.3\n\n* commit \u0027v3.2-rc3\u0027: (412 commits)\n  Linux 3.2-rc3\n  virtio-pci: make reset operation safer\n  virtio-mmio: Correct the name of the guest features selector\n  virtio: add HAS_IOMEM dependency to MMIO platform bus driver\n  eCryptfs: Extend array bounds for all filename chars\n  eCryptfs: Flush file in vma close\n  eCryptfs: Prevent file create race condition\n  regulator: TPS65910: Fix VDD1/2 voltage selector count\n  i2c: Make i2cdev_notifier_call static\n  i2c: Delete ANY_I2C_BUS\n  i2c: Fix device name for 10-bit slave address\n  i2c-algo-bit: Generate correct i2c address sequence for 10-bit target\n  drm: integer overflow in drm_mode_dirtyfb_ioctl()\n  Revert \"of/irq: of_irq_find_parent: check for parent equal to child\"\n  drivers/gpu/vga/vgaarb.c: add missing kfree\n  drm/radeon/kms/atom: unify i2c gpio table handling\n  drm/radeon/kms: fix up gpio i2c mask bits for r4xx for real\n  ttm: Don\u0027t return the bo reserved on error path\n  mount_subtree() pointless use-after-free\n  iio: fix a leak due to improper use of anon_inode_getfd()\n  ...\n"
    },
    {
      "commit": "243082e0d59f169a1fa502f51ee5a820889fae93",
      "tree": "8359afd781878ca4e75ca34f1cd328f469815f5d",
      "parents": [
        "0105d2b4fbc24c2fb6ca9bae650784dd7ddf0b12"
      ],
      "author": {
        "name": "Daniel De Graaf",
        "email": "dgdegra@tycho.nsa.gov",
        "time": "Mon Nov 28 11:49:11 2011 -0500"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Fri Dec 16 11:26:10 2011 -0500"
      },
      "message": "xen/gntalloc: fix reference counts on multi-page mappings\n\nWhen a multi-page mapping of gntalloc is created, the reference counts\nof all pages in the vma are incremented. However, the vma open/close\noperations only adjusted the reference count of the first page in the\nmapping, leaking the other pages. Store a struct in the vm_private_data\nto track the original page count to properly free the pages when the\nlast reference to the vma is closed.\n\nReported-by: Anil Madhavapeddy \u003canil@recoil.org\u003e\nSigned-off-by: Daniel De Graaf \u003cdgdegra@tycho.nsa.gov\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    },
    {
      "commit": "0105d2b4fbc24c2fb6ca9bae650784dd7ddf0b12",
      "tree": "9442598b5e9d959ccfd6661e3c727840692028dc",
      "parents": [
        "c3b3f16d1bceb5ac5f21528f889810b4ac5a3596"
      ],
      "author": {
        "name": "Daniel De Graaf",
        "email": "dgdegra@tycho.nsa.gov",
        "time": "Mon Nov 28 11:49:10 2011 -0500"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Fri Dec 16 11:26:02 2011 -0500"
      },
      "message": "xen/gntalloc: release grant references on page free\n\ngnttab_end_foreign_access_ref does not return the grant reference it is\npassed to the free list; gnttab_free_grant_reference needs to be\nexplicitly called. While gnttab_end_foreign_access provides a wrapper\nfor this, it is unsuitable because it does not return errors.\n\nReported-by: Anil Madhavapeddy \u003canil@recoil.org\u003e\nSigned-off-by: Daniel De Graaf \u003cdgdegra@tycho.nsa.gov\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    },
    {
      "commit": "0cc678f850f2cba0cedbd133fcbbf175554cd6c6",
      "tree": "3289a7f4681c16c89b26612625b2f3f065f3186f",
      "parents": [
        "8ca19a8937ad91703cfefccf13bd8017b39510cd"
      ],
      "author": {
        "name": "Daniel De Graaf",
        "email": "dgdegra@tycho.nsa.gov",
        "time": "Thu Oct 27 17:58:49 2011 -0400"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Mon Nov 21 17:14:48 2011 -0500"
      },
      "message": "xen/gnt{dev,alloc}: reserve event channels for notify\n\nWhen using the unmap notify ioctl, the event channel used for\nnotification needs to be reserved to avoid it being deallocated prior to\nsending the notification.\n\nSigned-off-by: Daniel De Graaf \u003cdgdegra@tycho.nsa.gov\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    },
    {
      "commit": "8ca19a8937ad91703cfefccf13bd8017b39510cd",
      "tree": "c522460f48b7e7412048750b3874010d18fc36cc",
      "parents": [
        "80df46494846e857399618c54df30ce294dc1edd"
      ],
      "author": {
        "name": "Daniel De Graaf",
        "email": "dgdegra@tycho.nsa.gov",
        "time": "Thu Oct 27 17:58:48 2011 -0400"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Mon Nov 21 17:14:47 2011 -0500"
      },
      "message": "xen/gntalloc: Change gref_lock to a mutex\n\nThe event channel release function cannot be called under a spinlock\nbecause it can attempt to acquire a mutex due to the event channel\nreference acquired when setting up unmap notifications.\n\nSigned-off-by: Daniel De Graaf \u003cdgdegra@tycho.nsa.gov\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    },
    {
      "commit": "99cb2ddcc617f43917e94a4147aa3ccdb2bcd77e",
      "tree": "2c2f3a0271dc0e2b627eb45823c03a10bbce3002",
      "parents": [
        "21643e69a4c06f7ef155fbc70e3fba13fba4a756"
      ],
      "author": {
        "name": "Dan Carpenter",
        "email": "dan.carpenter@oracle.com",
        "time": "Fri Nov 04 21:24:36 2011 +0300"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Wed Nov 16 12:13:48 2011 -0500"
      },
      "message": "xen-gntalloc: signedness bug in add_grefs()\n\ngref-\u003egref_id is unsigned so the error handling didn\u0027t work.\ngnttab_grant_foreign_access() returns an int type, so we can add a\ncast here, and it doesn\u0027t cause any problems.\ngnttab_grant_foreign_access() can return a variety of errors\nincluding -ENOSPC, -ENOSYS and -ENOMEM.\n\nCC: stable@kernel.org\nSigned-off-by: Dan Carpenter \u003cdan.carpenter@oracle.com\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    },
    {
      "commit": "21643e69a4c06f7ef155fbc70e3fba13fba4a756",
      "tree": "8ab4fce440977edd5508abed992022674dec9d77",
      "parents": [
        "fc6e0c3b909157748ce1c0c0f2a9935a5ee3c812"
      ],
      "author": {
        "name": "Dan Carpenter",
        "email": "dan.carpenter@oracle.com",
        "time": "Fri Nov 04 21:24:08 2011 +0300"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Wed Nov 16 12:13:47 2011 -0500"
      },
      "message": "xen-gntalloc: integer overflow in gntalloc_ioctl_alloc()\n\nOn 32 bit systems a high value of op.count could lead to an integer\noverflow in the kzalloc() and gref_ids would be smaller than\nexpected.  If the you triggered another integer overflow in\n\"if (gref_size + op.count \u003e limit)\" then you\u0027d probably get memory\ncorruption inside add_grefs().\n\nCC: stable@kernel.org\nSigned-off-by: Dan Carpenter \u003cdan.carpenter@oracle.com\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    },
    {
      "commit": "d79647aea22732f39c81bbdc80931f96b46023f0",
      "tree": "5e2309aaa6b8998789beb5a6cb40b59aff211e02",
      "parents": [
        "38eaeb0fd8819dce424a61579500bd9987d5c930"
      ],
      "author": {
        "name": "Daniel De Graaf",
        "email": "dgdegra@tycho.nsa.gov",
        "time": "Mon Mar 07 15:18:57 2011 -0500"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Wed Mar 09 22:15:28 2011 -0500"
      },
      "message": "xen/gntdev,gntalloc: Remove unneeded VM flags\n\nThe only time when granted pages need to be treated specially is when\nusing Xen\u0027s PTE modification for grant mappings owned by another domain\n(that is, only gntdev on PV guests).  Otherwise, the area does not\nrequire VM_DONTCOPY and VM_PFNMAP, since it can be accessed just like\nany other page of RAM.\n\nSince the vm_operations_struct close operations decrement reference\ncounts, a corresponding open function that increments them is required\nnow that it is possible to have multiple references to a single area.\n\nWe are careful in the gntdev to check if we can remove those flags. The\nreason that we need to be careful in gntdev on PV guests is because we are\nnot changing the PFN/MFN mapping on PV; instead, we change the application\u0027s\npage tables to point to the other domain\u0027s memory. This means that the vma\ncannot be copied without using another grant mapping hypercall; it also\nrequires special handling on unmap, which is the reason for gntdev\u0027s\ndependency on the MMU notifier.\n\nFor gntalloc, this is not a concern - the pages are owned by the domain\nusing the gntalloc device, and can be mapped and unmapped in the same manner\nas any other page of memory.\n\nAcked-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Daniel De Graaf \u003cdgdegra@tycho.nsa.gov\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n[v2: Added in git commit \"We are..\" from email correspondence]\n"
    },
    {
      "commit": "bdc612dc6903c4ea06e40d02f84ad5e25d93459d",
      "tree": "f7f3e3272b21ae3c6015e86f9c1f7be31534704d",
      "parents": [
        "dd3140588d9551235ebc2a0dacdca098e7677573"
      ],
      "author": {
        "name": "Daniel De Graaf",
        "email": "dgdegra@tycho.nsa.gov",
        "time": "Thu Feb 03 12:19:04 2011 -0500"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Mon Feb 14 14:16:17 2011 -0500"
      },
      "message": "xen/gntalloc,gntdev: Add unmap notify ioctl\n\nThis ioctl allows the users of a shared page to be notified when\nthe other end exits abnormally.\n\n[v2: updated description in structs]\nSigned-off-by: Daniel De Graaf \u003cdgdegra@tycho.nsa.gov\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    },
    {
      "commit": "dd3140588d9551235ebc2a0dacdca098e7677573",
      "tree": "e9d7c229121b6bd00627b8e6f45235ea6b8ec790",
      "parents": [
        "aab8f11a6b4641fcb8c139420f2eae879b5d1698"
      ],
      "author": {
        "name": "Daniel De Graaf",
        "email": "dgdegra@tycho.nsa.gov",
        "time": "Mon Feb 07 17:23:05 2011 -0500"
      },
      "committer": {
        "name": "Konrad Rzeszutek Wilk",
        "email": "konrad.wilk@oracle.com",
        "time": "Mon Feb 14 14:16:17 2011 -0500"
      },
      "message": "xen-gntalloc: Userspace grant allocation driver\n\nThis allows a userspace application to allocate a shared page for\nimplementing inter-domain communication or device drivers. These\nshared pages can be mapped using the gntdev device or by the kernel\nin another domain.\n\nSigned-off-by: Daniel De Graaf \u003cdgdegra@tycho.nsa.gov\u003e\nSigned-off-by: Konrad Rzeszutek Wilk \u003ckonrad.wilk@oracle.com\u003e\n"
    }
  ]
}
