)]}'
{
  "commit": "8701ea957dd2a7c309e17c8dcde3a64b92d8aec0",
  "tree": "37019047caf24df91f617677f72b378d1e23d82e",
  "parents": [
    "7c7e9425f114a109b07be2c2c1c6c169e34e9bb3"
  ],
  "author": {
    "name": "Jeremy Fitzhardinge",
    "email": "jeremy@goop.org",
    "time": "Fri Dec 22 01:11:21 2006 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@woody.osdl.org",
    "time": "Fri Dec 22 08:55:51 2006 -0800"
  },
  "message": "[PATCH] ptrace: Fix EFL_OFFSET value according to i386 pda changes\n\nThe PDA patches introduced a bug in ptrace: it reads eflags from the wrong\nplace on the target\u0027s stack, but writes it back to the correct place.  The\nresult is a corrupted eflags, which is most visible when it turns interrupts\noff unexpectedly.\n\nThis patch fixes this by making the ptrace code a little less fragile.  It\nchanges [gs]et_stack_long to take a straightforward byte offset into struct\npt_regs, rather than requiring all callers to do a sizeof(struct pt_regs)\noffset adjustment.  This means that the eflag\u0027s offset (EFL_OFFSET) on the\ntarget stack can be simply computed with offsetof().\n\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy@xensource.com\u003e\nCc: Frederik Deweerdt \u003cdeweerdt@free.fr\u003e\nCc: Andi Kleen \u003cak@suse.de\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": "f3f94ac5736a254c4a97eb58aa7335a70328df18",
      "old_mode": 33188,
      "old_path": "arch/i386/kernel/ptrace.c",
      "new_id": "af8aabe8580034970071a8ddb57630fbc619ace9",
      "new_mode": 33188,
      "new_path": "arch/i386/kernel/ptrace.c"
    }
  ]
}
