aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/atl1c
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-10-27 15:34:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 18:03:17 -0700
commit12aa4c64174cb0d915cd1c7b763847c0ffa8e92c (patch)
tree5dad12890f620de7f5ff6ec5255ff8cc407526c1 /drivers/net/atl1c
parentf49d2eb314f3f83270bef6aea2abb7a26d4218ee (diff)
w1: don't allow arbitrary users to remove w1 devices
The search/pullup/add/remove device attributes were 0666 which would allow arbitrary users to affect the 1 wire bus. Change to 0664 to prevent that. I found this patch in the Android tree, apparently this has never been sent upstream so doing it now. Signed-off-by: Brian Swetland <swetland@google.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/atl1c')
0 files changed, 0 insertions, 0 deletions