From: Tim Fairchild <tim@bcs4me.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: K3b and 2.6.9?
Date: Tue, 31 Aug 2004 11:51:25 +1000 [thread overview]
Message-ID: <200408311151.25854.tim@bcs4me.com> (raw)
In-Reply-To: <1093871277.30082.7.camel@localhost.localdomain>
On Monday 30 Aug 2004 23:07, Alan Cox wrote:
> Folks are working on getting the verify_command list refined, or you
> can run the burner part of cd-burners setuid (as cdrecord supports -
> although get the newest one since there was a security hole fixed a few
> days ago in both cdrecord and star).
>
> > Without knowing a better way, I am currently using the same sort of quick
> > patch as 2.6.8.1 to use k3b on 2.6.9-rc1-bk5 ie:
>
> Providing you don't mind any of your users erasing your drive firmware
> and turning the drive into a brick its fine.
Thanks. Yes I realize that and understand why this is a good idea to have. But
most of the verify_command list seems fine and I find the following works,
but don't know if this is any 'safer' or not... This is the particular test
that makes the difference to k3b/cdrecord, but I don't know enough to work
out what it actually does... (this is with 2.6.9-rc1-bk6)
--- a/drivers/block/scsi_ioctl.c.original 2004-08-30 23:50:16.000000000 +1000
+++ b/drivers/block/scsi_ioctl.c 2004-08-31 08:37:56.000000000 +1000
@@ -192,7 +192,7 @@
/* Write-safe commands just require a writable open.. */
if (type & CMD_WRITE_SAFE) {
- if (file->f_mode & FMODE_WRITE)
+/* if (file->f_mode & FMODE_WRITE) */
return 0;
}
next prev parent reply other threads:[~2004-08-31 1:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 0:47 K3b and 2.6.9? Tim Fairchild
2004-08-30 13:07 ` Alan Cox
2004-08-31 1:51 ` Tim Fairchild [this message]
2004-08-31 2:29 ` Linus Torvalds
2004-08-31 6:26 ` Frank Steiner
2004-08-31 16:29 ` Linus Torvalds
2004-08-31 10:37 ` Tim Fairchild
2004-08-31 17:05 ` Linus Torvalds
2004-09-01 8:37 ` Tim Fairchild
2004-08-31 20:16 ` ismail dönmez
2004-08-31 20:33 ` Linus Torvalds
2004-08-31 22:01 ` Tim Fairchild
2004-09-01 8:27 ` Tim Fairchild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200408311151.25854.tim@bcs4me.com \
--to=tim@bcs4me.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox