[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180716083424.11157-1-brgl@bgdev.pl>
Date: Mon, 16 Jul 2018 10:34:22 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <brgl@...ev.pl>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists