Re: max arguments for exec

Keith Owens (kaos@ocs.com.au)
Thu, 27 Sep 2001 12:27:52 +1000


On Wed, 26 Sep 2001 14:25:05 -0700 (PDT),
Kiril Vidimce <vkire@pixar.com> wrote:
>Is there any way to reconfigure the kernel at runtime to change the
>limit for arguments passed during an exec? I guess I am looking for
>something similar to systune ncargs under IRIX. I found this thread
>in the archives:
>
>http://uwsg.iu.edu/hypermail/linux/kernel/0003.0/0160.html
>
>The only suggestion was to patch and recompile the kernel. I looked
>into sysctl and I couldn't find an appropriate argument to tweak.

It is controlled by MAX_ARG_PAGES in include/linux/binfmts.h. Change
and recompile the kernel, it is not dynamically tunable in Linux.

-
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/