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

commit 48f115470e68d443436b76b22dad63ffbffd6b97 upstream.

They should not be writable by any user.

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