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:	Tue, 23 Sep 2008 20:50:48 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	"Chris Li" <lkml@...isli.org>
Cc:	"Giacomo A. Catenazzi" <cate@...eee.net>,
	"Mauro Carvalho Chehab" <mchehab@...radead.org>,
	"Steven Rostedt" <rostedt@...dmis.org>,
	linux-kernel@...r.kernel.org
Subject: Re: diet-kconfig: a script to trim unneeded kconfigs

At Tue, 23 Sep 2008 11:15:19 -0700,
Chris Li wrote:
> 
> On Tue, Sep 23, 2008 at 4:31 AM, Takashi Iwai <tiwai@...e.de> wrote:
> > That is true.  Enabling arbitrary kernel config item is hard to
> > achieve right now.  I think this feature should be implemented in
> > kbuild parser itself.  The current reverse-select is way limited and
> > known to be problematic in many kernel configs.
> 
> I was looking at the kbuild system. BTW, I really like the Makefile
> in kbuild.  For the reverse select, here is what I have in mind.
> 
> The reverse select needs to maintain the define-user chain for
> each kernel option. And each kernel option has a list of the kernel
> option and value pare to enable an option. Once we produce such
> an list for "all config". We can know exactly what kernel option
> needs to set in order to get to so module. It is kind of doing
> the data flow analyze on the config options.
> 
> It is not trivial, but it shouldn't be too hard either.

Well, it is not so easy, too.
The good-working reverse selection with dependency checks is a
feature we've long for in Kconfig, but it hasn't been implemented
because it could easily introduce a messy dependency loop, or some
cases are not easily resolvable.

Anyway, the development of reverse-selection should involve with Sam
and other Kbuild maintainer/developers.


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