summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2018-07-16 11:34:23 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-07-16 16:38:52 +0300
commite5332d5437764f775cf4e3b8ca3bf592af063a02 (patch)
tree7a663f82eb864a9b4ddc50d62fb82582f9dab657 /tools/perf/scripts
parentad817297418539b8895bbbf1d05ee3e5a211a117 (diff)
downloadlinux-e5332d5437764f775cf4e3b8ca3bf592af063a02.tar.xz
gpiolib: don't allow userspace to set values of input lines
User space can currently both read and set values of input lines using the character device. This was not allowed by the old sysfs interface nor is it a correct behavior. Check the first descriptor in the set for the OUT flag when asked to set values and return -EPERM if the line is input. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions