lkml.org 
[lkml]   [2004]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Make MAX_INIT_ARGS 25
 On Wed, Aug 04, Pete Zaitcev wrote:

>
> --- linux-2.6.7/init/main.c 2004-06-16 16:54:07.000000000 -0700
> +++ linux-2.6.7-usb/init/main.c 2004-08-04 19:16:22.566593218 -0700
> @@ -102,8 +102,8 @@
> /*
> * Boot command-line arguments
> */
> -#define MAX_INIT_ARGS 8
> -#define MAX_INIT_ENVS 8
> +#define MAX_INIT_ARGS 25
> +#define MAX_INIT_ENVS 25

Why is there a limit anyway? Can the whole thing be dynamic? Any why
panic if there are more than n options passed? Just ignore the remaining
options?

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.098 / U:4.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site