Skip to contentSkip to conversation

fix the INIT_ENV_ARG_LIMIT dependencies

RFC PATCH In review Adrian Bunk 2 participants 2 messages Apr 15, 2006 – Apr 19, 2006 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 fix the INIT_ENV_ARG_LIMIT dependencies

This patch fixes the INIT_ENV_ARG_LIMIT dependencies to what seems to have been intended.

Spotted by Jean-Luc Leger.

init/Kconfig renamed from init/Kconfig.old +2 -2
@@ -46,8 +46,8 @@
 
 config INIT_ENV_ARG_LIMIT
 	int
-	default 32 if !USERMODE
-	default 128 if USERMODE
+	default 32 if !UML
+	default 128 if UML
 	help
 	  Maximum of each of the number of arguments and environment
 	  variables passed to init from the kernel command line.
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Adrian Bunk

This patch fixes the INIT_ENV_ARG_LIMIT dependencies to what seems to have been intended.

Yes, the global rename USERMODE -> UML in Kconfig missed something, it seems. My bad.

Quoted 30 lines

Spotted by Jean-Luc Leger.

--- linux-2.6.17-rc1-mm2-full/init/Kconfig.old 2006-04-15
16:26:46.000000000 +0200 +++
linux-2.6.17-rc1-mm2-full/init/Kconfig 2006-04-15 16:27:12.000000000 +0200

init/Kconfig renamed from init/Kconfig.old +2 -3
@@ -46,8 +46,8 @@
 
 config INIT_ENV_ARG_LIMIT
 	int
-	default 32 if !USERMODE
-	default 128 if USERMODE
+	default 32 if !UML
+	default 128 if UML
 	help
 	  Maximum of each of the number of arguments and environment
 	  variables passed to init from the kernel command line.
 
 
-------------------------------------------------------

This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Signature · 8 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

		
___________________________________ 
Bolletta salata? Passa a Yahoo! Messenger with Voice 
http://it.messenger.yahoo.com