提交 9b12771a 编写于 作者: V Vasiliy Kulikov 提交者: Tony Lindgren

mach-omap2: mux: world-writable debugfs files

Do not create mux debugfs files as world-writable.
Signed-off-by: NVasiliy Kulikov <segoon@openwall.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 ed2af92b
......@@ -605,7 +605,7 @@ static void __init omap_mux_dbg_create_entry(
list_for_each_entry(e, &partition->muxmodes, node) {
struct omap_mux *m = &e->mux;
(void)debugfs_create_file(m->muxnames[0], S_IWUGO, mux_dbg_dir,
(void)debugfs_create_file(m->muxnames[0], S_IWUSR, mux_dbg_dir,
m, &omap_mux_dbg_signal_fops);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册