lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 4 Feb 2011 12:09:47 -0800 From: Tony Lindgren <tony@...mide.com> To: Vasiliy Kulikov <segoon@...nwall.com> Cc: linux-kernel@...r.kernel.org, security@...nel.org, Russell King <linux@....linux.org.uk>, linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org Subject: Re: [PATCH 01/20] mach-omap2: mux: world-writable debugfs files * Vasiliy Kulikov <segoon@...nwall.com> [110204 04:21]: > Do not create mux debugfs files as world-writable. > > Signed-off-by: Vasiliy Kulikov <segoon@...nwall.com> > --- > Cannot compile the driver, so it is not tested at all. Thanks, will queue this as a fix for the -rc cycle. Tony > arch/arm/mach-omap2/mux.c | 2 +- > 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); > } > } > -- > 1.7.0.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists