samples/kobject/: avoid world-writable sysfs files.
Rusty Russell authored
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 <greg@kroah.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
de510989