Re: [PATCH 8/9] samples/kobject/: avoid world-writable sysfs files.

2014-04-22 Thread Greg Kroah-Hartman
On Tue, Apr 22, 2014 at 01:03:31PM +0930, Rusty Russell wrote: > In line with practice for module parameters, we're adding a build-time > check that sysfs files aren't world-writable. > > Cc: Greg Kroah-Hartman > Signed-off-by: Rusty Russell > --- > samples/kobject/kobject-example.c | 7 ---

[PATCH 8/9] samples/kobject/: avoid world-writable sysfs files.

2014-04-21 Thread Rusty Russell
In line with practice for module parameters, we're adding a build-time check that sysfs files aren't world-writable. Cc: Greg Kroah-Hartman Signed-off-by: Rusty Russell --- samples/kobject/kobject-example.c | 7 --- samples/kobject/kset-example.c| 7 --- 2 files changed, 8 insertion