Re: sym53c875: reading /proc causes SCSI parity error

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Nov 28 2001 - 18:47:45 EST


> Why not just put some bitmap pointer into the pci device
> struct. If it is non-NULL, it specifies PCI config space
> areas which have side-effects.

Why not avoid poking around in dangerous device spaces. We don't have a
bitmap to protect /dev/mem either. The problem is similar too, we have many
devices with config space beyond the guaranteed bytes that do fatal
things that are not driven directly by Linux - eg some bridges have acpi
stuff overlapping there.

A non root user can only touch the safe bytes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:32 EST