* make allyesconfig broken in 2.5.70-bk10 and -bk11
@ 2003-06-06 14:18 John Kim
2003-06-06 15:04 ` Roman Zippel
0 siblings, 1 reply; 2+ messages in thread
From: John Kim @ 2003-06-06 14:18 UTC (permalink / raw)
To: linux-kernel
make allyesconfig hangs just after displaying the following:
<-- SNIP -->
*
* Security options
*
Enable different security models (SECURITY) [N/y/?] (NEW) y
Socket and Networking Security Hooks (SECURITY_NETWORK) [N/y/?] (NEW) y
Default Linux Capabilities (SECURITY_CAPABILITIES) [N/m/y/?] (NEW) y
Root Plug Support (SECURITY_ROOTPLUG) [N/m/y/?] (NEW) y
*
* Cryptographic options
*
-----
make allyesconfig works just fine for -bk9.
John Kim
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: make allyesconfig broken in 2.5.70-bk10 and -bk11
2003-06-06 14:18 make allyesconfig broken in 2.5.70-bk10 and -bk11 John Kim
@ 2003-06-06 15:04 ` Roman Zippel
0 siblings, 0 replies; 2+ messages in thread
From: Roman Zippel @ 2003-06-06 15:04 UTC (permalink / raw)
To: John Kim; +Cc: linux-kernel
Hi,
On Fri, 6 Jun 2003, John Kim wrote:
> Root Plug Support (SECURITY_ROOTPLUG) [N/m/y/?] (NEW) y
> *
> * Cryptographic options
> *
> -----
> make allyesconfig works just fine for -bk9.
Hmm, it seems I missed a problem with the new select keyword.
This patch prevents any attempt to change any symbol which isn't changable
anyway (e.g. force to 'y' via select).
bye, Roman
diff -pur linux-2.5.70-bk10.org/scripts/kconfig/conf.c linux-2.5.70-bk10/scripts/kconfig/conf.c
--- linux-2.5.70-bk10.org/scripts/kconfig/conf.c 2003-06-06 10:57:49.000000000 +0200
+++ linux-2.5.70-bk10/scripts/kconfig/conf.c 2003-06-06 16:51:38.000000000 +0200
@@ -73,6 +73,13 @@ static void conf_askvalue(struct symbol
line[0] = '\n';
line[1] = 0;
+ if (!sym_is_changable(sym)) {
+ printf("%s\n", def);
+ line[0] = '\n';
+ line[1] = 0;
+ return;
+ }
+
switch (input_mode) {
case ask_new:
case ask_silent:
@@ -82,12 +89,6 @@ static void conf_askvalue(struct symbol
}
check_stdin();
case ask_all:
- if (!sym_is_changable(sym)) {
- printf("%s\n", def);
- line[0] = '\n';
- line[1] = 0;
- return;
- }
fflush(stdout);
fgets(line, 128, stdin);
return;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-06 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-06 14:18 make allyesconfig broken in 2.5.70-bk10 and -bk11 John Kim
2003-06-06 15:04 ` Roman Zippel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®