Greg Lehey wrote:
> On Friday,  2 February 2001 at 20:10:10 -0800, Peter Wemm wrote:
> > Robert Watson wrote:
> >
> >> crw-r--r--  1 root     wheel      78,   0 Dec 31  1969 pci
> >
> > This one may appear harmless, but it is not.  It is trivially easy to creat
    e
> > an alignment fault (fatal on an alpha) with the userland pciconf tool.
> > We must not allow this to be used by users until the kernel part is fixed.
> >
> > Eg: try this on an alpha: pciconf -r -l pci0:x:x 0x3 - ie: read a longword
> > at byte offset 3 in configuration space.. kaboom!
> 
> This looks like a separate issue.  Presumably you can do this as root
> as well.  pciconf should check the parameters.

The kernel should check the parameters passed in from the userland, at
least, it should not die like this.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to