is there a C func that can check kernel config file?

Ezequiel Garcia elezegarcia at gmail.com
Sat Nov 10 19:34:17 EST 2012


On Tue, Nov 6, 2012 at 7:23 AM, Zhouping Liu <sanweidaying at gmail.com> wrote:
>
> /proc/config.gz has been removed (not sure since which kernel version), also
> it's similar with checking '/usr/src/kernels/`uname -r`/.config'.
>

AFAIK, my 3.7 git trees show that CONFIG_IKCONFIG option is still available.
This option, when selected, lets you read your kernel config at /proc/config.gz.

I'd be very much surprised to find out this option has been removed,
given its usefulness.

    Ezequiel



More information about the Kernelnewbies mailing list