Re: Make MAX_INIT_ARGS 25

From: Olaf Hering
Date: Thu Aug 05 2004 - 09:47:26 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/