[PATCH v2 3/3] nvmem: core: add sysfs file mode flag in nvmem_config

Greg KH gregkh at linuxfoundation.org
Wed Oct 7 05:56:31 PDT 2015


On Wed, Oct 07, 2015 at 12:01:04PM +0100, Srinivas Kandagatla wrote:
> This patch adds mode variable to nvmem_config structure which will allow
> providers to specify the permissions for the sysfs binary file.
> This mode is applied on top of root-only access permissions set by
> the core.
> 
> Having this flag would give more flexibility to providers to decide
> which permissions to set on the sysfs binary file entry.

And they will get it wrong, please don't do this.

thanks,

greg k-h



More information about the linux-arm-kernel mailing list