Re: [PATCH] PCI: Restrict VPD read permission to root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 02, 2008 at 08:41:37PM +0100, Ben Hutchings wrote:
> Benjamin Li wrote:
> > Hi Ben,
> > 
> > Currently what we are seeing on older RHEL 4 and 5 machine is that udev
> > is looking through the entire '/sys/bus/pci/devices/...' directory and
> > reading the vpd contents.
> [...]
> 
> Wow, that's insane.  Sorry I didn't realise this earlier.

Please note, it's not "udev" that is doing this reading, it's a
script/program that Red Hat has added to the udev rules to do such a
thing for every pci device.  There is nothing in the default set of udev
rules that do this that I know of.

Blame the packager, not the tool here :)

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux