Re: [RFC] races in access to pci_devices

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Nov 15 2001 - 03:00:22 EST


On Thu, 15 Nov 2001, Jeff Garzik wrote:

> alas, yes, that's been there since time began, and since the window was
> so minimal nobody cared enough to do anything about it. Even on the
> larger hotplug PCI servers that Greg KH mentioned, the pci list really
> isn't traversed much, much less updated.

while true; do cat </proc/bus/pci/devices >/dev/null; done - notice that it's
world-readable (ditto for /proc/pci).

-
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 : Thu Nov 15 2001 - 21:00:41 EST