Skip to content

Commit

Permalink
drivers/video/fbdev/s3c2410fb.c: don't make debug world-writable.
Browse files Browse the repository at this point in the history
We don't want random users to be able to spam the logs, and commit
37549e9 (sysfs: disallow
world-writable files.) finally makes this a build error.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
Rusty Russell committed Aug 6, 2014
1 parent 2e3a10a commit 8286793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/s3c2410fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8286793

Please sign in to comment.