Skip to content

gpiolib: linehandle_ioctl() tweaks

Bartosz Golaszewski linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpiolib: don't allow userspace to set values of input linesdrivers/gpio/gpiolib.c+7 -13 replies
2/2gpiolib: remove an unnecessary TODOdrivers/gpio/gpiolib.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.17.1