Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1241459
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 3/3] nvmem: core: add sysfs file mode flag in nvmem_config |
| Date | 2015-10-07 15:00 +0200 |
| Message-ID | <qgWu6-5fT-5@gated-at.bofh.it> (permalink) |
| References | <qgULE-2Y1-13@gated-at.bofh.it> <qgULE-2Y1-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 3/3] nvmem: core: add sysfs file mode flag in nvmem_config Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-10-07 13:10 +0200 Re: [PATCH v2 3/3] nvmem: core: add sysfs file mode flag in nvmem_config Greg KH <gregkh@linuxfoundation.org> - 2015-10-07 15:00 +0200
csiph-web