When I thought my code was sending a SCSI_IOCTL_GET_IDLUN ioctl
to a scsi device, strace reported that I had sent a
CDROMAUDIOBUFSIZ ioctl!

The IDLUN ioctl is defined in include/scsi/scsi.h with the
associated value of 0x5382 and the other one is defined in
include/linux/cdrom.h with the same value. Both lk 2.2.14
and 2.3.42 have this problem which has probably been there
for a while.

Is this harmless or dangerous? If it is dangerous is the
AUDIO one used (much) and could it be moved? Note that
the scsi mid level uses other ioctl numbers close to the
problematic one (eg 0x5283...0x5386) so be careful with
new DVD ioctls.


Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to