• Linus Torvalds's avatar
    Be a bit more anal about allowing SCSI commands to be sent. · 1dde9f57
    Linus Torvalds authored
    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.
    1dde9f57
scsi_ioctl.c 10.4 KB