git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: ft1000: fix world writable debugfs file
[pandora-kernel.git]
/
drivers
/
staging
/
ft1000
/
ft1000-usb
/
ft1000_chdev.c
diff --git
a/drivers/staging/ft1000/ft1000-usb/ft1000_chdev.c
b/drivers/staging/ft1000/ft1000-usb/ft1000_chdev.c
index
da76f11
..
e398092
100644
(file)
--- a/
drivers/staging/ft1000/ft1000-usb/ft1000_chdev.c
+++ b/
drivers/staging/ft1000/ft1000-usb/ft1000_chdev.c
@@
-173,7
+173,7
@@
int ft1000_create_dev(struct ft1000_device *dev)
goto debug_dir_fail;
}
- file = debugfs_create_file("device", S_IRUGO | S_IWU
GO
, dir,
+ file = debugfs_create_file("device", S_IRUGO | S_IWU
SR
, dir,
NULL, &ft1000fops);
if (IS_ERR(file)) {
result = PTR_ERR(file);