https://jxself.org/git/linux-libre.git
Raw File
Tip revision: cd79422f08093ec62cc9db407369374635560230 authored by Jason Self on 14 February 2013, 18:50:22 UTC
Linux-libre 3.0.64-gnu1
Tip revision: cd79422
config.c.in
/* 
 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
 * Licensed under the GPL
 */

#include <stdio.h>
#include <stdlib.h>
#include "init.h"

static __initdata const char *config[] = {
"CONFIG"
};

static int __init print_config(char *line, int *add)
{
	int i;
	for (i = 0; i < sizeof(config)/sizeof(config[0]); i++)
		printf("%s", config[i]);
	exit(0);
}

__uml_setup("--showconfig", print_config,
"--showconfig\n"
"    Prints the config file that this UML binary was generated from.\n\n"
);

back to top