]> git.baikalelectronics.ru Git - kernel.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)
commitbce3a6be38b6fd10c524caff2e665e2ffee61a23
tree8002385cdbedf5462b46b33d9a6310a7218c2961
parent18a4740482434515c0c3b8c53ca1b119c3422b18
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