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, 22 Apr 2008 09:58:44 -0700 (PDT)
From:	"Randy.Dunlap" <rdunlap@...otime.net>
To:	Sanjeev Aditya Naga <sanjeev.kernel@...il.com>
cc:	linux-kernel@...r.kernel.org
Subject: Re: config file part of kernel!

On Tue, 22 Apr 2008, Sanjeev Aditya Naga wrote:

> Hi,
> 
> Will it be good, if we make the `config` file (used to
> build a kernel) part of the built kernel. So that one in
> need, can extract it from the kernel using some
> userspace tool!?
> 
> During the configuration of kernel, we usually set
> the required functionality. However, if we delete the
> sources/config file or loose the config file, but later
> we wanted to add up some module(s) to the same
> kernel, it'd be great if we will be able to extract some
> info from the kernel along with the config params!??

This is already possible.

CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y

The former includes the config file in the kernel image.
The latter one puts it into /proc/config.gz as well.

-- 
~Randy
--
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