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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1313770135.6607.71.camel@sauron>
Date:	Fri, 19 Aug 2011 19:08:51 +0300
From:	Artem Bityutskiy <dedekind1@...il.com>
To:	Michal Marek <mmarek@...e.cz>
Cc:	adrian.hunter@...el.com, linux-mtd@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ubifs: Do not build debug messages with
 CONFIG_UBIFS_FS_DEBUG disabled

On Fri, 2011-08-19 at 18:55 +0300, Artem Bityutskiy wrote:
> On Thu, 2011-08-11 at 12:29 +0200, Michal Marek wrote:
> > With
> >   $ grep -e UBIFS_FS_DEBUG -e DYNAMIC_DEBUG .config
> >   # CONFIG_UBIFS_FS_DEBUG is not set
> >   CONFIG_DYNAMIC_DEBUG=y
> > 
> > Debug messages are kept in the object files due to the
> > dynamic_pr_debug() macro, even if they are never going to be printed:
> >   $ make fs/ubifs/super.o
> >   $ strings fs/ubifs/super.o | grep 'compiled on'
> >   compiled on:         Aug 11 2011 at 12:21:38
> > 
> > Use plain printk to fix this.
> > 
> > Signed-off-by: Michal Marek <mmarek@...e.cz>
> 
> Good catch, thanks! Pushed to ubifs-2.6.git, thanks!

There is a similar issue in UBI - just fixed it. I'll send this to Linus
soon, as this is a regression (blown-up binaries even though debugging
is disabled).

-- 
Best Regards,
Artem Bityutskiy

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ