Messages in this thread | | | Date | Fri, 7 Dec 2012 10:36:43 +0000 | From | Alan Cox <> | 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
| |