|
@@ -2509,7 +2509,7 @@ static int __init debugfs_kprobe_init(void)
|
|
|
if (!dir)
|
|
|
return -ENOMEM;
|
|
|
|
|
|
- file = debugfs_create_file("list", 0444, dir, NULL,
|
|
|
+ file = debugfs_create_file("list", 0400, dir, NULL,
|
|
|
&debugfs_kprobes_operations);
|
|
|
if (!file)
|
|
|
goto error;
|
|
@@ -2519,7 +2519,7 @@ static int __init debugfs_kprobe_init(void)
|
|
|
if (!file)
|
|
|
goto error;
|
|
|
|
|
|
- file = debugfs_create_file("blacklist", 0444, dir, NULL,
|
|
|
+ file = debugfs_create_file("blacklist", 0400, dir, NULL,
|
|
|
&debugfs_kprobe_blacklist_ops);
|
|
|
if (!file)
|
|
|
goto error;
|