linux/drivers/w1
Brian Swetland 12aa4c6417 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>
2010-10-27 18:03:17 -07:00
..
masters w1: fix omap 1-wire driver compilation 2010-04-24 11:31:25 -07:00
slaves sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
Kconfig
Makefile
w1_family.c
w1_family.h
w1_int.c
w1_int.h
w1_io.c
w1_log.h
w1_netlink.c
w1_netlink.h
w1.c w1: don't allow arbitrary users to remove w1 devices 2010-10-27 18:03:17 -07:00
w1.h