]> git.neil.brown.name Git - history.git/commit
Be a bit more anal about allowing SCSI commands to be sent.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 12 Aug 2004 02:43:09 +0000 (19:43 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 12 Aug 2004 02:43:09 +0000 (19:43 -0700)
commit1dde9f572944d38ef06059565dcf089ffa93eefa
tree93af004d5eef7f340e2a1cb38ad4d157e95f26a5
parent43d15eb29e755daa70650c91969ba176300b2099
Be a bit more anal about allowing SCSI commands to be sent.

Normal users shouldn't have access to the raw device anyway
unless they are in the trusted "disk" group, but let's require
RAWIO capabilities. That's what the original SCSI interfaces
did anyhoo.

We probably _should_ just require write access, but that will
need more of a code change to pass down the file descriptor.
drivers/block/scsi_ioctl.c