Skip to contentSkip to conversation

cxscan-user.patch

PATCH Thomas Maguin 2 participants 3 messages Sep 16, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

please add this, which which allows normal users to make a c1-, c2- and cu-scan (so called cxscan) with readcd on cxscan-capable cd/dvd-writers.

block/scsi_ioctl.c 2005-09-13 12:06:48.000000000 +0200 renamed from block/old-scsi_ioctl.c 2005-09-16 07:06:37.000000000 +0200 +1 -0
@@ -167,6 +167,7 @@ static int verify_command(struct file *f
                safe_for_write(WRITE_VERIFY_12),
                safe_for_write(WRITE_16),
                safe_for_write(WRITE_LONG),
+              safe_for_write(WRITE_LONG_2),
                safe_for_write(ERASE),
                safe_for_write(GPCMD_MODE_SELECT_10),
                safe_for_write(MODE_SELECT),

Source of the new readcd.c (will go to the official release of cdrtools):
http://www-user.tu-chemnitz.de/~noe/readcd/readcd.c.tar.gz

Thomas

#1 lore raw
Quoted 7 lines · Thomas Maguin

please add this, which which allows normal users to make a c1-, c2- and cu-scan (so called cxscan) with readcd on cxscan-capable cd/dvd-writers.

block/scsi_ioctl.c 2005-09-13 12:06:48.000000000 +0200 static int verify_command(struct file *f · line 173

Quoted 7 lines
block/scsi_ioctl.c 2005-09-13 12:06:48.000000000 +0200 renamed from block/old-scsi_ioctl.c 2005-09-16 07:06:37.000000000 +0200 +1 -0
@@ -167,6 +167,7 @@ static int verify_command(struct file *f
                safe_for_write(WRITE_VERIFY_12),
                safe_for_write(WRITE_16),
                safe_for_write(WRITE_LONG),
+              safe_for_write(WRITE_LONG_2),
                safe_for_write(ERASE),
                safe_for_write(GPCMD_MODE_SELECT_10),
                safe_for_write(MODE_SELECT),

The patch is safe, however your mailer mangled the tabs. Can you resend as an attachment, please?

Signature · 1 line
Jens Axboe
#2 lore raw
block/scsi_ioctl.c 2005-09-13 12:06:48.000000000 +0200 renamed from block/old-scsi_ioctl.c 2005-09-16 07:06:37.000000000 +0200 +1 -0
@@ -167,6 +167,7 @@ static int verify_command(struct file *f
                safe_for_write(WRITE_VERIFY_12),
                safe_for_write(WRITE_16),
                safe_for_write(WRITE_LONG),
+               safe_for_write(WRITE_LONG_2),
                safe_for_write(ERASE),
                safe_for_write(GPCMD_MODE_SELECT_10),
                safe_for_write(MODE_SELECT),