[PATCH v2 3/3] nvmem: core: add sysfs file mode flag in nvmem_config
From: gregkh@linuxfoundation.org (Greg KH)
Date: 2015-10-07 12:57:24
Also in:
lkml
From: gregkh@linuxfoundation.org (Greg KH)
Date: 2015-10-07 12:57:24
Also in:
lkml
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