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-next>] [day] [month] [year] [list]
Message-Id: <20090819025634.987354707@goodmis.org>
Date:	Tue, 18 Aug 2009 22:56:34 -0400
From:	Steven Rostedt <rostedt@...dmis.org>
To:	linux-kernel@...r.kernel.org
Cc:	Ingo Molnar <mingo@...e.hu>,
	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: [PATCH 00/14] kconfig: streamline distro configs for testers

Here's my rebase of the prior push of streamline-config.pl.

What this patch series does, is add my streamline-config.pl as a make
option for users. What streamline-config.pl does is to look at the
modules loaded in the system (lsmod) and then scans all the Makefiles
and Kconfigs in the current directory tree to find what configs need
to be set for the modules that are loaded.

It then looks at the .config (if .config is not found, it looks
in /boot, /proc/config.gz, vmlinux, configs.ko for .configs that it
may be able to use). This script will remove all options set as =m that
does not need to be set in order to build the modules found by lsmod.

NOTE: This does not touch any =y option. If you do make allyesconfig
and then run this, it will have not effect anything. Nor does this enable
any thing that is not set. Although we may change this in the future.

This patch series provides:

  make localmodconfig

which will look for a .config to streamline. Then it will run silentoldconfig
to clean up any missing options.

  make localyesconfig

will remove all =m that is not needed to build the modules provided
by lsmod, and then convert the rest to =y. Note, once you do this, no more
changes will be made by these scripts.

This is idea to help testers. Since a lot of people download a kernel
from kernel.org and then uses the distro config to configure it. This can
take hours to build. Now all a tester needs to do, is to download the
kernel from kernel.org and run "make localmodconfig". This will disable
most of the modules that are set in distro kernels and speed up the
build time by magnitudes!

Lets try to get this in soon,

-- Steve


The following patches are in:

  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git

    branch: kconfig


Steven Rostedt (14):
      kconfig: add streamline_config.pl to scripts
      kconfig: make localmodconfig to run streamline_config.pl
      kconfig: add make localyesconfig option
      kconfig: streamline_config.pl do not stop with no depends
      kconfig: do not warn about modules built in
      kconfig: enable CONFIG_IKCONFIG from streamline_config.pl
      kconfig: add check if end exists in extract-ikconfig
      kconfig: have extract-ikconfig read ELF files
      kconfig: keep config.gz around even if CONFIG_IKCONFIG_PROC is not set
      kconfig: search for a config to base the local(mod|yes)config on
      kconfig: unset IKCONFIG_PROC and clean up nesting
      kconfig: test for /boot/config-uname after /proc/config.gz in localconfig
      kconfig: make local .config default for streamline_config
      kconfig: test if a .config already exists

----
 kernel/Makefile                      |    2 +-
 scripts/extract-ikconfig             |   14 ++
 scripts/kconfig/Makefile             |   34 +++-
 scripts/kconfig/streamline_config.pl |  366 ++++++++++++++++++++++++++++++++++
 4 files changed, 414 insertions(+), 2 deletions(-)
-- 
--
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