)]}'
{
  "commit": "2f1eef27008bd0abf9879e51a74fb9d0418634e8",
  "tree": "363bbc5f67cd1ec1305010bd0a32e7f7093b8746",
  "parents": [
    "69724a603fc759242348f931068b97c6634e40f9"
  ],
  "author": {
    "name": "Pawel Moll",
    "email": "pawel.moll@arm.com",
    "time": "Fri Jun 13 16:03:32 2014 +0100"
  },
  "committer": {
    "name": "Zefan Li",
    "email": "lizefan@huawei.com",
    "time": "Mon Dec 01 18:02:42 2014 +0800"
  },
  "message": "perf: Handle compat ioctl\n\ncommit b3f207855f57b9c8f43a547a801340bb5cbc59e5 upstream.\n\nWhen running a 32-bit userspace on a 64-bit kernel (eg. i386\napplication on x86_64 kernel or 32-bit arm userspace on arm64\nkernel) some of the perf ioctls must be treated with special\ncare, as they have a pointer size encoded in the command.\n\nFor example, PERF_EVENT_IOC_ID in 32-bit world will be encoded\nas 0x80042407, but 64-bit kernel will expect 0x80082407. In\nresult the ioctl will fail returning -ENOTTY.\n\nThis patch solves the problem by adding code fixing up the\nsize as compat_ioctl file operation.\n\nReported-by: Drew Richardson \u003cdrew.richardson@arm.com\u003e\nSigned-off-by: Pawel Moll \u003cpawel.moll@arm.com\u003e\nSigned-off-by: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@kernel.org\u003e\nCc: Jiri Olsa \u003cjolsa@redhat.com\u003e\nLink: http://lkml.kernel.org/r/1402671812-9078-1-git-send-email-pawel.moll@arm.com\nSigned-off-by: Ingo Molnar \u003cmingo@kernel.org\u003e\nCc: David Ahern \u003cdsahern@gmail.com\u003e\n[lizf: Backported to 3.4 by David Ahern]\nSigned-off-by: Zefan Li \u003clizefan@huawei.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "10c8fddd8dc3eb86dc14485ab555460cb967e22e",
      "old_mode": 33188,
      "old_path": "kernel/events/core.c",
      "new_id": "04662972802a7468ae5f68aebdc4ce66191e02ce",
      "new_mode": 33188,
      "new_path": "kernel/events/core.c"
    }
  ]
}
