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

From: Alan Cox
Date: Fri Dec 07 2012 - 05:32:21 EST

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at