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)
committerArve Hjønnevåg <arve@android.com>
Thu, 4 Feb 2010 05:27:00 +0000 (21:27 -0800)
commitb08a883b6dce4b0f0cd52d8bee7505472301387c
treea7efb919ced9005e06068c35caa35f58f2fb37d6
parent196f3dc567992f06be0699437f4d4bd2a9a67f15
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