[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121207103643.34ca6dc5@pyramind.ukuu.org.uk>
Date: Fri, 7 Dec 2012 10:36:43 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Roland Stigge <stigge@...com.de>
Cc: gregkh@...uxfoundation.org, grant.likely@...retlab.ca,
linus.walleij@...aro.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, w.sang@...gutronix.de,
jbe@...gutronix.de, plagnioj@...osoft.com, highguy@...il.com,
broonie@...nsource.wolfsonmicro.com, daniel-gl@....net,
rmallon@...il.com, tru@...k-microwave.de, sr@...x.de,
wg@...ndegger.com
Subject: Re: [PATCH 0/6 v10] gpio: Add block GPIO
> * Device interface for userland access (alternative to sysfs)
Currently we can set different permissions on different GPIO lines. Your
driver change drives a truck through this facility.
I'm not sure there is an elegant way to snoop on the permissions set
on the sysfs gpio nodes and the driver also breaks managing GPIO rights
via smack/selinux/apparmor and assigning specific gpio lines to specific
pieces of user space code.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists