Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b12771a authored by Vasiliy Kulikov's avatar Vasiliy Kulikov Committed by Tony Lindgren
Browse files

mach-omap2: mux: world-writable debugfs files



Do not create mux debugfs files as world-writable.

Signed-off-by: default avatarVasiliy Kulikov <segoon@openwall.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent ed2af92b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}
}