lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZCrr+7zEEMtVwZHPywhtu2LUG+LCN9GY-JYCui4Uh1DQ@mail.gmail.com>
Date:	Mon, 15 Feb 2016 20:11:36 +0100
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>,
	Johan Hovold <johan@...nel.org>
Cc:	Alexandre Courbot <gnurou@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH] gpio/sysfs: Add ID parameter for GPIO lines

On Thu, Dec 17, 2015 at 5:48 PM, Ricardo Ribalda Delgado
<ricardo.ribalda@...il.com> wrote:

> On named GPIOs there is currently no find out their numerical id.
>
> Because of this, a GPIO pin named like:
> /sys/class/gpio/PROG_B
>
> cannot be unexported by an application different than the one that
> exported it.
>
> This patch adds a new parameter to the GPIO line called id, that
> shows the numerical id of a given GPIO. E.g.:
>
> $ cat /sys/class/gpio/PROG_B/id
> 496
> $ echo 496 > unexport
>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>

NACK. I have just merged commits marking the entire sysfs
ABI deprecated. It will *NOT* be developed. Please help out in
evolving the character device instead.

c.f.
http://marc.info/?l=linux-gpio&m=145494198509404&w=2
http://marc.info/?l=linux-gpio&m=145554244502862&w=2

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ