)]}'
{
  "commit": "8efb2ed5ec192f7e83c5e48753e695d5cbc161b2",
  "tree": "10344bd8c60be4053aac08f7559c2b721058aa94",
  "parents": [
    "49ca6f3e24ee45de514604b8116e541332b23a84"
  ],
  "author": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Mon Jun 06 19:58:16 2016 +0100"
  },
  "committer": {
    "name": "Riku Voipio",
    "email": "riku.voipio@linaro.org",
    "time": "Wed Jun 08 12:06:50 2016 +0300"
  },
  "message": "linux-user: Correct signedness of target_flock l_start and l_len fields\n\nThe l_start and l_len fields in the various target_flock structures are\nsupposed to be \u0027__kernel_off_t\u0027 or \u0027__kernel_loff_t\u0027, which means they\nshould be signed, not unsigned. Correcting the structure definitions means\nthat __get_user() and __put_user() will correctly sign extend them if\nthe guest is using 32 bit offsets and the host is using 64 bit offsets.\n\nThis fixes failures in the LTP \u0027fcntl14\u0027 tests where it checks that\nnegative seek offsets work correctly.\n\nWe reindent the structures to drop hard tabs since we\u0027re touching 40%\nof the fields anyway.\n\nRV: long long -\u003e abi_llong as suggested by Laurent Vivier \u003claurent@vivier.eu\u003e\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nSigned-off-by: Riku Voipio \u003criku.voipio@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "124754f8bd4fd12c80b747d9f9c59613aaeca874",
      "old_mode": 33188,
      "old_path": "linux-user/syscall_defs.h",
      "new_id": "6ee9251c504bebdb413b6c53ecc4bbd1bf54a126",
      "new_mode": 33188,
      "new_path": "linux-user/syscall_defs.h"
    }
  ]
}
