)]}'
{
  "commit": "098362e72002d01fdd18afee2e635ffdcdc89e2c",
  "tree": "bc886181f598356f5b010c16235b9069633685b8",
  "parents": [
    "c4e8308c30b0139f89bac71f3c22c8d7413b8665"
  ],
  "author": {
    "name": "David Daney",
    "email": "ddaney@avtrex.com",
    "time": "Sat Oct 27 23:10:20 2007 -0700"
  },
  "committer": {
    "name": "Ralf Baechle",
    "email": "ralf@linux-mips.org",
    "time": "Mon Oct 29 19:35:36 2007 +0000"
  },
  "message": "[MIPS] Add len and addr validation for MAP_FIXED mappings.\n\nMmap with MAP_FIXED was not validating the addr and len parameters.  This\nleads to the failure of GCC\u0027s gcc.c-torture/execute/loop-2[fg].c testcases\nwhen using the o32 ABI on a 64 bit kernel.\n\nThese testcases try to mmap 65536 bytes at 0x7fff8000 and then access all\nthe memory.  In 2.6.18 and 2.6.23.1 (and likely other versions as well)\nthe kernel maps the requested memory, but since half of it is above\n0x80000000 a SIGBUS is generated when it is accessed.\n\nThis patch moves the len validation above the MAP_FIXED processing so that\nit is always validated.  It also adds validation to the addr parameter for\nMAP_FIXED mappings.\n\nSigned-off-by: David Daney  \u003cddaney@avtrex.com\u003e\nSigned-off-by: Ralf Baechle \u003cralf@linux-mips.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b95fe93dd646dad70290be9694bba0d7e37715c6",
      "old_mode": 33188,
      "old_path": "arch/mips/kernel/syscall.c",
      "new_id": "af1bdc897488acf4d71f65bc69579f58b03183ce",
      "new_mode": 33188,
      "new_path": "arch/mips/kernel/syscall.c"
    }
  ]
}
