w1: don't allow arbitrary users to remove w1 devices
authorBrian Swetland <swetland@google.com>
Mon, 23 Nov 2009 14:41:42 +0000 (06:41 -0800)
committerColin Cross <ccross@android.com>
Thu, 30 Sep 2010 00:49:05 +0000 (17:49 -0700)
commita2ff915ea6fdf82db131dc31da5fad2c262c0c9d
tree6d3a231a2effe2f2ec3d9edda2e588a425f4d0d2
parent1cc8f1e3f421e369612538b08d574f7317bf6631
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.

Signed-off-by: Brian Swetland <swetland@google.com>
drivers/w1/w1.c