[PATCH 0/2] gpiolib: linehandle_ioctl() tweaks

From: Bartosz Golaszewski
Date: Mon Jul 16 2018 - 04:34:47 EST


I noticed that - unlike sysfs - it's possible to set values of input
lines from user space using the character device. There's actually
even a TODO in the linehandle_ioctl() code.

This is not correct so the first patches fixes that and the second
removes a TODO that's not really needed.

Bartosz Golaszewski (2):
gpiolib: don't allow userspace to set values of input lines
gpiolib: remove an unneccessary TODO

drivers/gpio/gpiolib.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

--
2.17.1