Re: variable length argument support (was: [OT] Re: The vi editorcauses brain damage)

From: Paolo Ornati
Date: Sun Aug 19 2007 - 10:42:06 EST


On Sun, 19 Aug 2007 15:07:01 +0200 (CEST)
Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:

> > Remove the arg+env limit of MAX_ARG_PAGES by copying the strings
> > directly from the old mm into the new mm.
>
> Me wonders. Will that make the "checking for maximum length of command line
> arguments" from autotools run forever since execve() will not fail anymore?

Since I'm running Gentoo and do many compiles I can tell that it
works :)

If I remeber correctly it was discussed on LKML and turend out that
that check is done starting with a "max" len and going down rather than
starting low and going up.

--
Paolo Ornati
Linux 2.6.23-rc3-g2a677896-dirty on x86_64
-
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/