]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: misc: usbsevseg: fix up some sysfs attribute permissions
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:36:44 +0000 (11:36 -0800)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:13 +0000 (23:40 +0100)
commit727c9b4d3b2958822d59376cde7ef47ea4942537
tree4a71ebbe935dbf4b9a020cff5f7dfa4e51fc82ab
parentb3f4c19eafb1a74f2e2bdf6002745bb53014ce53
USB: misc: usbsevseg: fix up some sysfs attribute permissions

commit e24d7ace4e822debcb78386bf279c9aba4d7fbd1 upstream.

They should not be writable by any user.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Harrison Metzger <harrisonmetz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/usb/misc/usbsevseg.c