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:	Mon, 15 Jun 2015 14:55:46 +0200
From:	Michal Marek <mmarek@...e.cz>
To:	Dan Carpenter <dan.carpenter@...cle.com>,
	linux-kbuild@...r.kernel.org
CC:	linux-kernel@...r.kernel.org
Subject: Re: [RFC] kconfig: a new command line tool to set configs

On 2015-05-12 12:31, Dan Carpenter wrote:
> This is an ugly hack job I made last night and it barely works.  It
> does two things:
> 
> 1)  Sometimes I want to search for a config so I have to load
>     menuconfig, then search for the config entry, then exit.  With
>     this script I simply run:
> 
> 	./scripts/kconfig/kconfig search COMEDI
> 
> 2)  I quite often try to enable something by doing:
> 
> 	echo CONFIG_FOO=y >> .config
> 	make oldconfig
> 	grep CONFIG_FOO .config
> 
>     The grep is to see if the setting worked.  Now I can do:
> 
> 	./scripts/kconfig/kconfig set CONFIG_FOO=y

The second use-case is provided by scripts/config already. It's is a lot
simpler shell script, but it's maybe good enough for such task.

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