)]}'
{
  "commit": "35e396cd100489dfe8f5a76e3613fb8049ffdff3",
  "tree": "fa300923172de62123a42bbb0d94104ca65cbb78",
  "parents": [
    "69849375d6b13e94d08cdc94b49b11fbab454a0e"
  ],
  "author": {
    "name": "xiphmont@xiph.org",
    "email": "xiphmont@xiph.org",
    "time": "Fri Aug 22 11:12:21 2008 +0200"
  },
  "committer": {
    "name": "Jens Axboe",
    "email": "jens.axboe@oracle.com",
    "time": "Thu Oct 09 08:56:00 2008 +0200"
  },
  "message": "SG_IO block filter whitelist missing MMC SET READ AHEAD command\n\nI have another request for the block filter SG_IO command whitelist,\nspecifically the MMC streaming command set SET READ AHEAD command.\nThe command applies only to MMC CDROM/DVDROM drives with the streaming\noptional feature set.  The command is useful to cdparanoia in that it\nallows explicit cache control side effects that are, on many drives,\ncdparanoia\u0027s most efficient way to flush/disable the media cache on\ncdrom drives. I am aware of no reason why it should not be accessible\nfrom usespace.\n\nAlso note that the command is already fully accessible through the\nSCSI-native version of the SG_IO ioctl as well as the traditional SG\ninterface.  The command is only being refused on block devices.  That\nmeans that on a typical stock distro, the command is available through\n/dev/sg* but not /dev/scd* although both are typically available and\naccessible.  Filtering the command is not providing any protection,\nonly a confusing inconsistency.\n\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ec4b7f2346264a13e368132079e829877181cf7f",
      "old_mode": 33188,
      "old_path": "block/scsi_ioctl.c",
      "new_id": "3aab80a4c4847dbedd865398018ea9d13b03f319",
      "new_mode": 33188,
      "new_path": "block/scsi_ioctl.c"
    }
  ]
}
