Re: [RFC] races in access to pci_devices

Alexander Viro (viro@math.psu.edu)
Thu, 15 Nov 2001 03:00:22 -0500 (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/