summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-02-28 10:37:55 -0800
committerGuenter Roeck <linux@roeck-us.net>2014-03-03 08:01:06 -0800
commit648cd48c9e566f53c5df30d79857e0937ae13b09 (patch)
tree1fd88b546e0018249a91befa414730de0a9a553b /tools
parent768821a302ae98c2d6a570e0ad63780180ba34db (diff)
downloadop-kernel-dev-648cd48c9e566f53c5df30d79857e0937ae13b09.zip
op-kernel-dev-648cd48c9e566f53c5df30d79857e0937ae13b09.tar.gz
hwmon: Do not accept invalid name attributes
hwmon name attributes must not include '-', as specified in Documentation/hwmon/sysfs-interface. Also filter out spaces, tabs, wildcards, and newline characters. Tested-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud