)]}'
{
  "commit": "9c6bf9c7d71d7da18a024182b69569969449d6f9",
  "tree": "328fb981bf2a6730b5630f530b5bde0f8745eb8e",
  "parents": [
    "95018018caeea209f58695645fd1d50a9d0ba6df"
  ],
  "author": {
    "name": "Ed Swierk",
    "email": "eswierk@skyportsystems.com",
    "time": "Tue Dec 16 12:55:31 2014 -0800"
  },
  "committer": {
    "name": "Riku Voipio",
    "email": "riku.voipio@linaro.org",
    "time": "Tue Jan 27 22:33:57 2015 +0200"
  },
  "message": "linux-user: Fix ioctl cmd type mismatch on 64-bit targets\n\nlinux-user passes the cmd argument of the ioctl syscall as a signed long,\nbut compares it to an unsigned int when iterating through the ioctl_entries\nlist.  When the cmd is a large value like 0x80047476 (TARGET_TIOCSWINSZ on\nmips64) it gets sign-extended to 0xffffffff80047476, causing the comparison\nto fail and resulting in lots of spurious \"Unsupported ioctl\" errors.\nChanging the target_cmd field in the ioctl_entries list to a signed int\ncauses those values to be sign-extended as well during the comparison.\n\nSigned-off-by: Ed Swierk \u003ceswierk@skyportsystems.com\u003e\nSigned-off-by: Riku Voipio \u003criku.voipio@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5658b664998325d5931f4a081c45ebbff750bdad",
      "old_mode": 33188,
      "old_path": "linux-user/syscall.c",
      "new_id": "683f8ccef5f91d26f5f4a5270bfcafcf058e533f",
      "new_mode": 33188,
      "new_path": "linux-user/syscall.c"
    }
  ]
}
