kernel-fxtec-pro1x/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 trivial: Kconfig: .ko is normally not included in module names 2009-06-12 18:01:50 +02:00
Makefile
w1.c w1: don't allow arbitrary users to remove w1 devices 2010-10-27 18:03:17 -07:00
w1.h
w1_family.c
w1_family.h
w1_int.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
w1_int.h
w1_io.c w1: coding style cleanups in w1_io.c 2009-04-02 19:05:04 -07:00
w1_log.h
w1_netlink.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
w1_netlink.h