All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] gpiolib: linehandle_ioctl() tweaks
@ 2018-07-16  8:34 Bartosz Golaszewski
  2018-07-16  8:34 ` [PATCH 1/2] gpiolib: don't allow userspace to set values of input lines Bartosz Golaszewski
  2018-07-16  8:34 ` [PATCH 2/2] gpiolib: remove an unnecessary TODO Bartosz Golaszewski
  0 siblings, 2 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2018-07-16  8:34 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-20 20:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16  8:34 [PATCH 0/2] gpiolib: linehandle_ioctl() tweaks Bartosz Golaszewski
2018-07-16  8:34 ` [PATCH 1/2] gpiolib: don't allow userspace to set values of input lines Bartosz Golaszewski
2018-07-16 13:40   ` Linus Walleij
2018-07-16 14:13     ` Bartosz Golaszewski
2018-07-20 20:33       ` Linus Walleij
2018-07-16  8:34 ` [PATCH 2/2] gpiolib: remove an unnecessary TODO Bartosz Golaszewski
2018-07-16 13:41   ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.