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, 16 May 2017 12:57:08 +0200
From:   Pavel Machek <pavel@....cz>
To:     Drew DeVault <sir@...wn.com>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: Programatically modifying .config

On Sun 2017-03-12 16:38:02, Drew DeVault wrote:
> I'm in the research stage of making it so something to the effect of
> `make setconfig OPTION="CONFIG_E100E=y"` will work, bringing it up here
> for some discussion first.
> 
> Digging into the kconfig code, this seems feasible, but complicated. A
> simple solver of some sort will be necessary to make the Depends expr
> true, and this tool would also have to hit up the Selects and Implies
> lines.
> 
> I expect there will be edge cases that this tool can't cope with, and
> I'm okay with just letting that be the case.
> 
> Any thoughts?

You can prepend (or append?) desired config option to .config, then
run make oldconfig. And yes, script for automatically modifying
.config would be nice... as would be script to automatically do
"configuration bisect" (because some bugs are config dependend and
nasty).
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ