diff options
author | Brian Swetland <swetland@google.com> | 2010-10-28 00:34:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 03:03:17 +0200 |
commit | 12aa4c64174cb0d915cd1c7b763847c0ffa8e92c (patch) | |
tree | 5dad12890f620de7f5ff6ec5255ff8cc407526c1 /include/net/9p | |
parent | alpha: remove dma64_addr_t usage (diff) | |
download | linux-12aa4c64174cb0d915cd1c7b763847c0ffa8e92c.tar.xz linux-12aa4c64174cb0d915cd1c7b763847c0ffa8e92c.zip |
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 'include/net/9p')
0 files changed, 0 insertions, 0 deletions