Re: max arguments for exec

From: Carl Spalletta (cspalletta@nectarsystems.com)
Date: Thu Sep 27 2001 - 10:48:40 EST


On Wed, 26 Sep 2001, Kiril Vidimce wrote:
 
> Yeah, I know, but we would like to avoid building a
custom kernel. If
> we do end up going this route, I wonder if there is
a limit for
> MAX_ARG_PAGES. Any idea? I think 128 pages (512K)
would be sufficient
> for our needs.

kiril,

I am guessing that you want to avoid a custom kernel
in order that your programs shall be portable.

So, I am having a hard time understanding why putting
the command line args into a file instead of on the
command line, in a way similar to grep and many other
programs:
 
"fgrep -F patternfile"

would not answer the case.

Is there any absolute need to have so many args passed
to exec from the command line?

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
-
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/



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:56 EST