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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 21 Aug 2009 12:55:58 -0400 (EDT)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Ingo Molnar <mingo@...e.hu>
cc:	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Theodore Tso <tytso@....edu>,
	Arjan van de Ven <arjan@...radead.org>,
	Greg KH <greg@...ah.com>,
	"Luis R. Rodriguez" <mcgrof@...il.com>, zippel@...ux-m68k.org,
	linux-kbuild@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>,
	Jonathan Corbet <corbet@....net>,
	Alan Jenkins <sourcejedi.lkml@...glemail.com>,
	Andi Kleen <andi@...stfloor.org>
Subject: Re: [PATCH 00/14] kconfig: streamline distro configs for testers


On Fri, 21 Aug 2009, Ingo Molnar wrote:

> 
> * Steven Rostedt <rostedt@...dmis.org> wrote:
> 
> > 
> > On Fri, 21 Aug 2009, Steven Rostedt wrote:
> > > 
> > > OK, I found the bug. There's a dependency missing.
> > > 
> > > $ make localyesconfig
> > >   HOSTCC  scripts/basic/fixdep
> > >   HOSTCC  scripts/basic/docproc
> > >   HOSTCC  scripts/basic/hash
> > > using config: '/boot/config-2.6.27.25-78.2.56.fc9.x86_64'
> > > /bin/sh: line 8: scripts/kconfig/conf: No such file or directory
> > > make[1]: *** [localyesconfig] Error 127
> > > make: *** [localyesconfig] Error 2
> > > 
> > > Thus the script failed to run. But the sed command that converts the '=m' 
> > > to '=y' still ran. This gives us a distro config with all modules 
> > > converted to built in!
> > 
> > Funny that localmodconfig does not have this bug.
> 
> ... add to that i dont use modules much so i probably hit that 
> localyesconfig bug ;-)
> 
> btw: mind adding localrandconfig too? It would be a perfect tool to 
> randomize all configs except a 'must have' core set of options.
> 
> ( Or is this already possible via some existing kconfig feature? I
>   remember having seen something related, did that ever get
>   upstream? A quick grep in scripts/ shows nothing but i might have
>   missed it.)

OK, I'll add that to my todo list. Note, it the local config is only as 
good as the starting .config. That is, it never touches =y settings, 
because it only uses loaded modules as a base. Thus if something is set to 
=y it will always be set to =y.

What would you have in mind. Just randomly enabling modules? If we enable 
a "y" config then the next local*config will still keep that set.

-- Steve

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