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]
Message-ID: <20080506043736.GB13366@uranus.ravnborg.org>
Date:	Tue, 6 May 2008 06:37:36 +0200
From:	Sam Ravnborg <sam@...nborg.org>
To:	Roman Zippel <zippel@...ux-m68k.org>
Cc:	linux-kbuild <linux-kbuild@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] kconfig: make oldconfig less chatty and clean up conf.c

On Tue, May 06, 2008 at 05:08:40AM +0200, Roman Zippel wrote:
> Hi,
> 
> On Sun, 4 May 2008, Sam Ravnborg wrote:
> 
> > We now check for valid stadin in both cases and this
> > may break a script here and there.
> 
> I strongly disagree with this, please preserve the old behaviour. It took 
> a while to work out the current behaviour.
> Only silentoldconfig checks for stdin because it's used as hook during 
> kbuild to verify the config. For all other interactive targets the user 
> has to know what he's doing, e.g. it's valid to do "yes '' | make 
> oldconfig".
I will test a bit more and may revert to the old behaviour.
One good thing with the new behaviour is that
make oldconfig > /dev/null
does not hang if there is new symbols - and I would like to keep
it so.

> 
> > -		switch (input_mode) {
> > -		case set_no:	 name = "allno.config"; break;
> > -		case set_mod:	 name = "allmod.config"; break;
> > -		case set_yes:	 name = "allyes.config"; break;
> > -		case set_random: name = "allrandom.config"; break;
> > -		default: break;
> > -		}
> > -		if (!stat(name, &tmpstat))
> > -			conf_read_simple(name, S_DEF_USER);
> > -		else if (!stat("all.config", &tmpstat))
> > -			conf_read_simple("all.config", S_DEF_USER);
> > -		break;
> > -	default:
> > -		break;
> >  	}
> 
> This isn't yet in aconf.c.
On purpose. It is very very seldom used and with K=file
it is now much easier to specify a base configuration.
So no need for all the special filenames.

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