Re: PATCH/FIX for drivers/cdrom/cdrom.c

From: Arjan van de Ven
Date: Fri Aug 18 2006 - 08:51:33 EST

On Fri, 2006-08-18 at 14:31 +0200, Bodo Eggert wrote:
> On Thu, 17 Aug 2006, Arjan van de Ven wrote:
> > On Thu, 2006-08-17 at 14:27 +0200, Bodo Eggert wrote:
> > > This will, however, not prevent other users from maliciously destroying the
> > > CD by not using O_EXCL.
> >
> > if the user wants to destroy his own burning cd... then why is it the
> > kernels job to stop him?
> It's user a destroying the CD of user b (e.g. because he erroneously
> believes his CD with the plain tar archive is in the burner, or because
> he's simply malicious).

that would only be if both A and B have write access to the same device,
at which point they can destroy eachother anyway
(nothing stops user B from issuing a blank command to the cdrw the
milisecond A is done)

if you want to mail me at work (you don't), use arjan (at)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at