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:	Thu, 18 Sep 2008 22:20:31 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	"Giacomo A. Catenazzi" <cate@...eee.net>
Cc:	Mauro Carvalho Chehab <mchehab@...radead.org>,
	linux-kernel@...r.kernel.org
Subject: Re: diet-kconfig: a script to trim unneeded kconfigs

At Thu, 18 Sep 2008 17:43:48 +0200,
Giacomo A. Catenazzi wrote:
> 
> Mauro Carvalho Chehab wrote:
> > Hi Takashi,
> > 
> > On Wed, 17 Sep 2008 01:55:26 +0200
> > Takashi Iwai <tiwai@...e.de> wrote:
> 
> >> The script is VERY hackish.  I should have begun with perl or whatever
> >> better script language, but I chose bash and co.  So, don't expect
> >> much code quality.  I'm no script guy after all :)
> > 
> > Using just a shellscript and binutils seems to be better than using other
> > tools, since it allows the usage on minimal configured systems where the user
> > might not have perl or other scripting languages.
> 
> But very slow, complex and not enough powerful:
> The tools should have extensive knowledge about Kconfig,
> and the CONFIG_ dependencies; it should handle a lot of
> structures (text/binary; line/record oriented; etc.), which
> it is not easy in shell (awk, od, sed with extended regexp are
> not core utilities).

It's not that slow.

> So my suggestion is: do it in a high level language, to find and
> stabilize the design, and then integrate it in kconfig later (using
> C).

Maybe a good idea to add such functionality into kbuild itself.
It's THE parser after all.


thanks,

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