mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
drivers/video/fbdev/s3c2410fb.c: don't make debug world-writable.
We don't want random users to be able to spam the logs, and commit
37549e94c7
(sysfs: disallow
world-writable files.) finally makes this a build error.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
2e3a10a155
commit
82867936b0
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ static int s3c2410fb_debug_store(struct device *dev,
|
|||
return len;
|
||||
}
|
||||
|
||||
static DEVICE_ATTR(debug, 0666, s3c2410fb_debug_show, s3c2410fb_debug_store);
|
||||
static DEVICE_ATTR(debug, 0664, s3c2410fb_debug_show, s3c2410fb_debug_store);
|
||||
|
||||
static struct fb_ops s3c2410fb_ops = {
|
||||
.owner = THIS_MODULE,
|
||||
|
|
Loading…
Reference in a new issue