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:
1fb4e09
)
Bluetooth: Fix L2CAP LE debugfs entries permissions
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 14 May 2014 15:53:35 +0000
(17:53 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 14 May 2014 16:07:07 +0000
(09:07 -0700)
0466 was probably meant to be 0644, there's no reason why everyone
except root could write there.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org
net/bluetooth/l2cap_core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index a1e5bb7d06e880b07cb6ab4e7cac153c0011fa79..dc4d301d3a728ccd0af8efe4e9648b843d598406 100644
(file)
--- a/
net/bluetooth/l2cap_core.c
+++ b/
net/bluetooth/l2cap_core.c
@@
-7519,9
+7519,9
@@
int __init l2cap_init(void)
l2cap_debugfs = debugfs_create_file("l2cap", 0444, bt_debugfs,
NULL, &l2cap_debugfs_fops);
- debugfs_create_u16("l2cap_le_max_credits", 0
466
, bt_debugfs,
+ debugfs_create_u16("l2cap_le_max_credits", 0
644
, bt_debugfs,
&le_max_credits);
- debugfs_create_u16("l2cap_le_default_mps", 0
466
, bt_debugfs,
+ debugfs_create_u16("l2cap_le_default_mps", 0
644
, bt_debugfs,
&le_default_mps);
bt_6lowpan_init();