projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3a10a
)
drivers/video/fbdev/s3c2410fb.c: don't make debug world-writable.
author
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 6 Aug 2014 00:45:36 +0000
(10:15 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 6 Aug 2014 00:54:05 +0000
(10:24 +0930)
We don't want random users to be able to spam the logs, and commit
37549e94c77a94a9c32b5ae3313a3801cb66adf9
(sysfs: disallow
world-writable files.) finally makes this a build error.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/video/fbdev/s3c2410fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/fbdev/s3c2410fb.c
b/drivers/video/fbdev/s3c2410fb.c
index 81af5a63e9e1d524516c90643a975002a8c77c01..6796d9d6c8710ccba30b9e175e3ce62cdbe979f0 100644
(file)
--- a/
drivers/video/fbdev/s3c2410fb.c
+++ b/
drivers/video/fbdev/s3c2410fb.c
@@
-616,7
+616,7
@@
static int s3c2410fb_debug_store(struct device *dev,
return len;
}
-static DEVICE_ATTR(debug, 066
6
, s3c2410fb_debug_show, s3c2410fb_debug_store);
+static DEVICE_ATTR(debug, 066
4
, s3c2410fb_debug_show, s3c2410fb_debug_store);
static struct fb_ops s3c2410fb_ops = {
.owner = THIS_MODULE,