Re: K3b and 2.6.9?

From: Linus Torvalds
Date: Tue Aug 31 2004 - 11:33:11 EST




On Tue, 31 Aug 2004, Frank Steiner wrote:

> Linus Torvalds wrote:
>
> > Ehh.. This seems to imply that K3b opens the device for _reading_ when it
> > wants to burn a CD-ROM.
>
> It seems that this problem is not K3B-only:

Yes. I suspect that these projects have at least looked at each other, so
it's probably a problem that has its basis in cdrecord or some "original"
program.

And yes, opening for reading used to work. After all, you didn't need a
"write()" system call, and the ioctl functions didn't use to check. It's a
potential security problem, and one that 2.6.8 fixed, and I don't think
we're willing to go back to the old setup.

And trust me - I absolutely _hate_ breaking user-level programs. I'd love
to unbreak it from the kernel, but in this case I don't see any
alternatives, really.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/