)]}'
{
  "commit": "bdf88217b70dbb18c4ee27a6c497286e040a6705",
  "tree": "79909bf3ef3f778f63c8cb2d5d22cd1d22a18c86",
  "parents": [
    "0ddc9cc8fdfe3df7a90557e66069e3da2c584725"
  ],
  "author": {
    "name": "Roland McGrath",
    "email": "roland@redhat.com",
    "time": "Wed Jan 30 13:31:44 2008 +0100"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Wed Jan 30 13:31:44 2008 +0100"
  },
  "message": "x86: user_regset header\n\nThe new header \u003clinux/regset.h\u003e defines the types struct user_regset and\nstruct user_regset_view, with some associated declarations.  This new set\nof interfaces will become the standard way for arch code to expose\nuser-mode machine-specific state.  A single set of entry points into arch\ncode can do all the low-level work in one place to fill the needs of core\ndumps, ptrace, and any other user-mode debugging facilities that might come\nalong in the future.\n\nFor existing arch code to adapt to the user_regset interfaces, each arch\ncan work from the code it already has to support core files and ptrace.\nThe formats you want for user_regset are the core file formats.  The only\nwrinkle in adapting old ptrace implementation code as user_regset get and\nset functions is that these functions can be called on current as well as\non another task_struct that is stopped and switched out as for ptrace.\nFor some kinds of machine state, you may have to load it directly from CPU\nregisters or otherwise differently for current than for another thread.\n(Your core dump support already handles this in elf_core_copy_regs for\ncurrent and elf_core_copy_task_regs for other tasks, so just check there.)\nThe set function should also be made to work on current in case that\nentails some special cases, though this was never required before for\nptrace.  Adding this flexibility covers the arch needs to open the door to\nmore sophisticated new debugging facilities that don\u0027t always need to\ncontext-switch to do every little thing.\n\nThe copyin/copyout helper functions (in a later patch) relieve the arch\ncode of most of the cumbersome details of the flexible get/set interfaces.\n\nSigned-off-by: Roland McGrath \u003croland@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "85d0fb0a014db61f723a7930fbb971c4289c35de",
      "new_mode": 33188,
      "new_path": "include/linux/regset.h"
    }
  ]
}
