]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
i2c/eeprom: Hide Sony Vaio serial numbers
authorJean Delvare <khali@linux-fr.org>
Thu, 15 Nov 2007 18:24:03 +0000 (19:24 +0100)
committerJean Delvare <khali@hyperion.delvare>
Thu, 15 Nov 2007 18:24:03 +0000 (19:24 +0100)
commit0f2cbd38aa377e30df3b7602abed69464d1970aa
tree8002385cdbedf5462b46b33d9a6310a7218c2961
parentbe8a1f7cd4501c3b4b32543577a33aee6d2193ac
i2c/eeprom: Hide Sony Vaio serial numbers

The sysfs interface to DMI data takes care to not make the system
serial number and UUID world-readable, presumably due to privacy
concerns. For consistency, we should not let the eeprom driver
export these same strings to the world on Sony Vaio laptops.
Instead, only make them readable by root, as we already do for BIOS
passwords.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/chips/eeprom.c