)]}'
{
  "commit": "81efcd3300754462537ffac60336158b2f773b4e",
  "tree": "f957ccb8cacabcecf5cfd67c1feda5b1908cac0c",
  "parents": [
    "f206aabb035318ac4bafbf0b87798335de3634df"
  ],
  "author": {
    "name": "Bodo Stroesser",
    "email": "bstroesser@fujitsu-siemens.com",
    "time": "Mon Mar 27 01:14:34 2006 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Mon Mar 27 08:44:38 2006 -0800"
  },
  "message": "[PATCH] uml: more carefully test whether we are in a system call\n\nFor security reasons, UML in is_syscall() needs to have access to code in\nvsyscall-page.  The current implementation grants this access by explicitly\nallowing access to vsyscall in access_ok_skas().  With this change,\ncopy_from_user() may be used to read the code.  Ptrace access to vsyscall-page\nfor debugging already was implemented in get_user_pages() by mainline.  In\ni386, copy_from_user can\u0027t access vsyscall-page, but returns EFAULT.\n\nTo make UML behave as i386 does, I changed is_syscall to use\naccess_process_vm(current) to read the code from vsyscall-page.  This doesn\u0027t\nhurt security, but simplifies the code and prepares implementation of\nstub-vmas.\n\nSigned-off-by: Bodo Stroesser \u003cbstroesser@fujitsu-siemens.com\u003e\nSigned-off-by: Jeff Dike \u003cjdike@addtoit.com\u003e\nCc: Paolo \u0027Blaisorblade\u0027 Giarrusso \u003cblaisorblade@yahoo.it\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e839ce65ad287d2bfa172f58d6c2ceaae302e373",
      "old_mode": 33188,
      "old_path": "arch/um/sys-i386/ptrace.c",
      "new_id": "8032a105949a02155945d52e00e1123f29039a1e",
      "new_mode": 33188,
      "new_path": "arch/um/sys-i386/ptrace.c"
    },
    {
      "type": "modify",
      "old_id": "74eee5c7c6dd7aa3b6b79d244bb54d2cda33439a",
      "old_mode": 33188,
      "old_path": "arch/um/sys-x86_64/ptrace.c",
      "new_id": "147bbf05cbc2fbc2d71e395f038ac97ce0387902",
      "new_mode": 33188,
      "new_path": "arch/um/sys-x86_64/ptrace.c"
    }
  ]
}
