i2c/eeprom: Hide Sony Vaio serial numbers
authorJean Delvare <khali@linux-fr.org>
Fri, 16 Nov 2007 09:34:17 +0000 (10:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Nov 2007 17:25:57 +0000 (09:25 -0800)
commit327bec37455d35156b72b4fdbec1d1403c8a2a92
tree71fb41cd74f0a8eeb67a68a941a4b3a50facda3f
parentf67444f10f4e30864fa7b431d88588de87c92980
i2c/eeprom: Hide Sony Vaio serial numbers

patch 0f2cbd38aa377e30df3b7602abed69464d1970aa in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/eeprom.c