]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: misc: trancevibrator: fix up a sysfs attribute permission
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:34:26 +0000 (11:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:44:04 +0000 (12:44 -0700)
commitf1f0a2db03038ad5eeae8e47b3aea030ac62ce17
treeeed850e61df59f93bdc568ef965912ecf3724138
parent3b63c721e4bb4d869cb623e8f24e053ecf05418e
USB: misc: trancevibrator: fix up a sysfs attribute permission

commit d489a4b3926bad571d404ca6508f6744b9602776 upstream.

It should not be writable by any user.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Sam Hocevar <sam@zoy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/trancevibrator.c