[PATCH 0/6 v10] gpio: Add block GPIO

Alan Cox alan at lxorguk.ukuu.org.uk
Fri Dec 7 05:36:43 EST 2012


> * 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



More information about the linux-arm-kernel mailing list