]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/fbdev/sm501fb.c: avoid world-writable sysfs files.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 14 May 2014 01:03:48 +0000 (10:33 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 14 May 2014 01:23:54 +0000 (10:53 +0930)
commit7e19a5aac383775e48b21d527cca141cb01a23ba
treeb4a3a59240ccfcccc3ee3a1b41d75b85e2696858
parent46d6e378c0078c189c9b6430cf38255db3d2678d
drivers/video/fbdev/sm501fb.c: avoid world-writable sysfs files.

In line with practice for module parameters, we're adding a build-time
check that sysfs files aren't world-writable.

Cc: Vincent Sanders <vince@simtec.co.uk>
Cc: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/video/fbdev/sm501fb.c