]> git.ipfire.org Git - people/ms/linux.git/commit
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>
Mon, 26 Nov 2007 17:42:27 +0000 (09:42 -0800)
commitdbc8b0aca5b169a457c4057a2b7c9362d804fa24
tree1332fad4cd77ae64b6053b8e670c9d695208457f
parentb89f4bd84bd9945d26e16399a97c991eae0a7a0d
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