]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: iio: fix up world writable sysfs files.
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 18:56:18 +0000 (10:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 18:56:18 +0000 (10:56 -0800)
commit901c431fc1f3578f7f987fd6ed55d5be704d2157
treec86c0bce6f744993b2daa641e60559aec35bdced
parent1bafc179e98f3c02bb9a11950831ea7404da7b83
Staging: iio: fix up world writable sysfs files.

You should not be able to write to sysfs files from any user.

Cc: Graf Yang <graf.yang@analog.com>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/resolver/ad2s1210.c
drivers/staging/iio/sysfs.h