> On Mon, 24 Jul 2000, Horst von Brand wrote:> > To get what you are asking for would give a kernel source of a gigabyte or> > so (just add up all the funny things you might want to send to a random> > IDE, SCSI, FireWire, USB, ... device, consider that downloadable firmware> > is becomming the norm, and devices are proliferating like never before),> > and _that_ doesn't scale at all.> > A gigabyte? Hardly. It's an if statement we need, that's all. OK, a couple> of if statements per subsystem will add up to quite a few Kb - but that'll> hardly break the bank.

That depends, are you talking about just filtering the known 'bad'things, or filtering down to where only valid commands (with valid datamind you, which is a cute thing to try and determine in kernel space) work?

Not that it really matter much, both lead to the dark side and loadsof cruft that will never be cleaned out, even once the hardware is fixed andsuch filtering of 'invalid' commands with 'invalid' data, or valid commandswith 'invalid' data is useless.

Stephen

-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.rutgers.eduPlease read the FAQ at http://www.tux.org/lkml/