Re: MAX_ARG_PAGES has no effect?

From: Andi Kleen
Date: Wed Aug 31 2005 - 18:29:29 EST


Ingo Molnar <mingo@xxxxxxx> writes:
>
> MAX_ARG_PAGES should work just fine. I think the 'getconf ARG_MAX'
> output is hardcoded. (because the kernel does not provide the
> information dynamically)

Perhaps it would be a good idea to make it a sysctl. Is there
any reason it should be hardcoded? I cannot think of any.

Ok if someone lowers the sysctl then execve has to handle
the case of the args/environment possibly not fitting anymore,
but that should be easy.

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