lkml.org 
[lkml]   [2000]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Direct access to hardware
Date
From: "James Sutherland" <jas88@cam.ac.uk>
> On Tue, 25 Jul 2000, Horst von Brand wrote:
>
> > James Sutherland <jas88@cam.ac.uk> said:
> > > On Sun, 23 Jul 2000, Horst von Brand wrote:
> >
> > [...]
> >
> > > > Yep. It should also carefully check that those damn ELF thingies
being
> > > > thrown at the CPU better contain valid code!
> >
> > > It does. How do you think the kernel works around CPU bugs - replicate
> > > nanites to rewire the CPU?
> >
> > Please show me where Linux checks every byte of an executable before
> > running it to make sure it doesn't f00f or coma your CPU.
>
> Inside the CPU, in hardware. If you attempt to execute invalid code, Linux
> knows about it straight away.

Which is exactly the point. The hard drives should be checking for
invalid ATA commands in hardware, right in the drive, preventing
damage from bad commands. Putting a filter into the kernel is not
the right fix.

..Stu



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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.158 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site