summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/mux.c
diff options
context:
space:
mode:
authorVasiliy Kulikov <segoon@openwall.com>2011-02-04 12:23:13 +0000
committerTony Lindgren <tony@atomide.com>2011-02-04 12:08:06 -0800
commit9b12771ad243541ad28e651f40cc9c7905ee32c3 (patch)
tree5083a40a6ebfbad959d93a97f8581cdadda02ac3 /arch/arm/mach-omap2/mux.c
parented2af92bc3adf7f5c09edef64cf4383b3d60b070 (diff)
downloadop-kernel-dev-9b12771ad243541ad28e651f40cc9c7905ee32c3.zip
op-kernel-dev-9b12771ad243541ad28e651f40cc9c7905ee32c3.tar.gz
mach-omap2: mux: world-writable debugfs files
Do not create mux debugfs files as world-writable. Signed-off-by: Vasiliy Kulikov <segoon@openwall.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
-rw-r--r--arch/arm/mach-omap2/mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c
index 98148b6..6c84659 100644
--- a/arch/arm/mach-omap2/mux.c
+++ b/arch/arm/mach-omap2/mux.c
@@ -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);
}
}
OpenPOWER on IntegriCloud